diff options
| -rw-r--r-- | share/examples/jails/README | 10 | ||||
| -rwxr-xr-x | share/examples/jails/jib | 2 | ||||
| -rwxr-xr-x | share/examples/jails/jng | 2 | 
3 files changed, 12 insertions, 2 deletions
| diff --git a/share/examples/jails/README b/share/examples/jails/README index 36268a9c2997..f3fea4b8d7b6 100644 --- a/share/examples/jails/README +++ b/share/examples/jails/README @@ -8,6 +8,16 @@ The below 4 samples require a VIMAGE enabled kernel:  	$ make KERNCONF=VIMAGE kernel  	$ reboot +FreeBSD 12 has VIMAGE enabled in GENERIC on amd64. +In that case, for jng simply load the ng_ether module first +(ng_bridge and ng_eiface will load on demand): + +	# (as root) +	# Load the ng_ether module at boot: +	$ sysrc kld_list+=ng_ether +	# Load ng_ether at once without rebooting: +	$ kldload ng_ether +  Sample 1: jail.conf(5)  	$ cp jib jng /usr/sbin/ diff --git a/share/examples/jails/jib b/share/examples/jails/jib index b7d50f5d4c90..731686f8c2a1 100755 --- a/share/examples/jails/jib +++ b/share/examples/jails/jib @@ -51,7 +51,7 @@  # 	#     arguments given to `jib addm xxx' in exec.prestart value.  # 	#  # 	vnet; -# 	vnet.interface = "e0b_xxx e1b_xxx ..."; +# 	vnet.interface = e0b_xxx, e1b_xxx, ...;  #   # 	exec.clean;  # 	exec.system_user = "root"; diff --git a/share/examples/jails/jng b/share/examples/jails/jng index c243001cf951..12d0eb6d138a 100755 --- a/share/examples/jails/jng +++ b/share/examples/jails/jng @@ -51,7 +51,7 @@  # 	#     arguments given to `jng bridge xxx' in exec.prestart value.  # 	#  # 	vnet; -# 	vnet.interface = "ng0_xxx ng1_xxx ..."; +# 	vnet.interface = ng0_xxx, ng1_xxx, ...;  #   # 	exec.clean;  # 	exec.system_user = "root"; | 
