bal0an
Explorer
- Joined
- Mar 2, 2012
- Messages
- 72
This recipe still works for TrueNAS 12.2-RELEASE jails. Migration from 11.3-RELEASE using
I used the UI for creating the new jail. It should be roughly equivalent to:
The linprocfs flag does not exist but is required. It needs to be added by
which I added as a POSTINIT scripts of the TrueNAS host. Otherwise the WebUI fails to work properly.
I created my users using parameters (instead of interactively):
In the webui for a minecraft server you need to use the the group john to hide your servers from other users. Use group games in your servers if you want them visible to others. My three sons have a use case if one wants to set up a "private" server for himself and his friends.
iocage upgrade -r 12.2.-RELEASE mineos-jail
failed, so I decided to setup a new jail and migrate the servers.I used the UI for creating the new jail. It should be roughly equivalent to:
Code:
iocage create -n mineos-jail -r 12.2-RELEASE iocage set mount_procfs=1 boot=on allow_raw_sockets=1 mineos-jail iocage start mineos-jail
The linprocfs flag does not exist but is required. It needs to be added by
Code:
mount -t linprocfs linprocfs /mnt/tank/iocage/jails/mineos-jail/root/usr/compat/linux/proc
which I added as a POSTINIT scripts of the TrueNAS host. Otherwise the WebUI fails to work properly.
I created my users using parameters (instead of interactively):
Code:
pw user add -n john -G games,wheel -m -s /usr/local/bin/bash
In the webui for a minecraft server you need to use the the group john to hide your servers from other users. Use group games in your servers if you want them visible to others. My three sons have a use case if one wants to set up a "private" server for himself and his friends.
Last edited: