I'm trying to think of the most practical way to create easy-to-install scripts for different jail managers. There are a number of jail managers, and each of them has their own template system.
IOcage has plugins
BastilleBSD has templates
Pot has templates
CBSD has templates
Each one of these require separately created files (Bastillefile CBSDfile etc...) to install applications inside a jail. I'm looking for a more practical way to do this that will work with all jail managers. I am also of the opinion that any necessary data MUST be mounted into the jail so it can be easily destroyed and recreated.
I'm open to ideas, as I don't want to focus one one single jail managers xyzFILE to do it.
My current idea is to have the user create the jail with any manager they so choose, then mount the necessary data points, enter the jail, fetch the install script, and run it. That way it can be done using any jail manager.
Or would it be better to stick with one that I like, and focus on the template system for it?
IOcage has plugins
BastilleBSD has templates
Pot has templates
CBSD has templates
Each one of these require separately created files (Bastillefile CBSDfile etc...) to install applications inside a jail. I'm looking for a more practical way to do this that will work with all jail managers. I am also of the opinion that any necessary data MUST be mounted into the jail so it can be easily destroyed and recreated.
I'm open to ideas, as I don't want to focus one one single jail managers xyzFILE to do it.
My current idea is to have the user create the jail with any manager they so choose, then mount the necessary data points, enter the jail, fetch the install script, and run it. That way it can be done using any jail manager.
Or would it be better to stick with one that I like, and focus on the template system for it?