Author: des
Date: Wed Jul  4 13:37:44 2012
New Revision: 238102
URL: http://svn.freebsd.org/changeset/base/238102

Log:
  Name jails automatically.
  
  MFC after:    1 week

Modified:
  head/etc/rc.d/jail

Modified: head/etc/rc.d/jail
==============================================================================
--- head/etc/rc.d/jail  Wed Jul  4 13:00:48 2012        (r238101)
+++ head/etc/rc.d/jail  Wed Jul  4 13:37:44 2012        (r238102)
@@ -641,7 +641,7 @@ jail_start()
                        i=$((i + 1))
                done
 
-               eval ${_setfib} jail ${_flags} -i ${_rootdir} ${_hostname} \
+               eval ${_setfib} jail ${_flags} -n ${_jail} -i ${_rootdir} 
${_hostname} \
                        \"${_addrl}\" ${_exec_start} > ${_tmp_jail} 2>&1 \
                        </dev/null
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to