diff options
author | flz <flz@FreeBSD.org> | 2006-05-11 14:23:43 +0000 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2006-05-11 14:23:43 +0000 |
commit | 76e07854c3d38e3f9613b1d64136e2b025152be2 (patch) | |
tree | d1f35ad9ac90ddf99478f2e51708284ec6e86bf4 /etc/defaults | |
parent | 57f8bd589684230bebf5a9cb58756523ca63eff7 (diff) | |
download | FreeBSD-src-76e07854c3d38e3f9613b1d64136e2b025152be2.zip FreeBSD-src-76e07854c3d38e3f9613b1d64136e2b025152be2.tar.gz |
- Change the "jail_" prefix for internal script variables. This fixes an
issue where some global jail_* variables were overriden in the script. [1]
- Change "jid" to "jname" in rc.conf(5), since it's more a jail name than a
jail id. [1]
- Update examples and comments in defaults/rc.conf to advertise new
variables and the fact that some of the jail-specific variables may be made
jail-global. [2]
Reported by: pjd [1], clsung [2]
Approved by: cperciva
X-MFC after: i got sufficient testing from people using rc.d/jail
Diffstat (limited to 'etc/defaults')
-rw-r--r-- | etc/defaults/rc.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 6d92919..970ac9a 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -555,11 +555,15 @@ jail_sysvipc_allow="NO" # Allow SystemV IPC use from within a jail # # To use rc's built-in jail infrastructure create entries for # each jail, specified in jail_list, with the following variables. -# NOTE: replace 'example' with the jail's name. +# NOTES: +# - replace 'example' with the jail's name. +# - except rootdir, hostname and ip, all of the following variables may be made +# global jail variables if you don't specify a jail name (ie. jail_interface). # #jail_example_rootdir="/usr/jail/default" # Jail's root directory #jail_example_hostname="default.domain.com" # Jail's hostname #jail_example_ip="192.168.0.10" # Jail's IP number +#jail_example_interface="" # Interface to create the IP alias on #jail_example_exec_start="/bin/sh /etc/rc" # command to execute in jail for starting #jail_example_exec_stop="/bin/sh /etc/rc.shutdown" # command to execute in jail for stopping #jail_example_devfs_enable="NO" # mount devfs in the jail |