Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2018 23:07:47 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r339977 - stable/12/share/examples/jails
Message-ID:  <201810312307.w9VN7lfW009560@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Wed Oct 31 23:07:47 2018
New Revision: 339977
URL: https://svnweb.freebsd.org/changeset/base/339977

Log:
  MFC r339843: Fix jail examples in jib, jng, README
  
  Submitted by:	Ryan Moeller <ryan@freqlabs.com>
  Reported by:	Ryan Moeller <ryan@freqlabs.com>
  Approved by:	re (gjb)
  Sponsored by:	Smule, Inc.
  Differential Revision:	https://reviews.freebsd.org/D17697

Modified:
  stable/12/share/examples/jails/README
  stable/12/share/examples/jails/jib
  stable/12/share/examples/jails/jng
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/share/examples/jails/README
==============================================================================
--- stable/12/share/examples/jails/README	Wed Oct 31 23:05:44 2018	(r339976)
+++ stable/12/share/examples/jails/README	Wed Oct 31 23:07:47 2018	(r339977)
@@ -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/

Modified: stable/12/share/examples/jails/jib
==============================================================================
--- stable/12/share/examples/jails/jib	Wed Oct 31 23:05:44 2018	(r339976)
+++ stable/12/share/examples/jails/jib	Wed Oct 31 23:07:47 2018	(r339977)
@@ -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";

Modified: stable/12/share/examples/jails/jng
==============================================================================
--- stable/12/share/examples/jails/jng	Wed Oct 31 23:05:44 2018	(r339976)
+++ stable/12/share/examples/jails/jng	Wed Oct 31 23:07:47 2018	(r339977)
@@ -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";



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810312307.w9VN7lfW009560>