jails Automate spinning up a bunch of thin jails

I'm setting up the *ARR suite apps in jails (using the Bastille manager). I used to do this in debian and docker but this time I moved to freeBSD to try out it's native zfs support.

In setting up I need to setup a uniform user, setup external mounts (the involved bit) and install the apps on each jail. I did this manually on a trial system and it works perfectly (finally!).

In docker this was all automated in the form of compose scripts. I write it up once and then don't need to worry about it when I reinstall/upgrade the host..

Is there any automation tool I can use in my case?
 
Great thanks. Looks like what I'm looking for. Although according to the first link; it doesnt need BastilleBSD (on the host?) as you mendtioned? As long as I'm using bastille jail manager (which I'm currently doing).

Also the documentation does point out many of the facilities I'd need.. But would you be kind enough to point me how I could create a new user (say, with ID 1001) using bastillefile? Thank you!
 
Back
Top