pvuchetich
Dabbler
- Joined
- Aug 23, 2012
- Messages
- 17
Within FreeNAS, what is the preferred way to make a clone of a jail for modification and reuse as a new jail?
I've created a jail that I'd like to clone, then modify as a new jail. As a test case, I'll clone a minecraft server (to make a similar server with different application settings), so there is really little within the jail that is unique. All that are probably needed are a new LAN IP address and new minecraft server.properties file.
I've seen that there are tools, such as ezjail, that can handle jail management tasks, in addition to manually using ZFS for cloning and jail tools from the FreeBSD manual, but I wasn't sure what the preferred option is today within FreeNAS, using version 9.2.1.x.
The built in GUI tools were very great for creating the initial jail, but there didn't seem to be an easy way within the GUI to clone a jail. In this case, it isn't a big deal to manually build a new jail, but I would like to use this as an example for when I need to work with a jail running a service that has more complexity.
I've created a jail that I'd like to clone, then modify as a new jail. As a test case, I'll clone a minecraft server (to make a similar server with different application settings), so there is really little within the jail that is unique. All that are probably needed are a new LAN IP address and new minecraft server.properties file.
I've seen that there are tools, such as ezjail, that can handle jail management tasks, in addition to manually using ZFS for cloning and jail tools from the FreeBSD manual, but I wasn't sure what the preferred option is today within FreeNAS, using version 9.2.1.x.
The built in GUI tools were very great for creating the initial jail, but there didn't seem to be an easy way within the GUI to clone a jail. In this case, it isn't a big deal to manually build a new jail, but I would like to use this as an example for when I need to work with a jail running a service that has more complexity.