看板 DFBSD_submit 關於我們 聯絡資訊
This is a multi-part message in MIME format. --------------060407020704020905070009 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Here is small patch to fix references to sysinstall which is not part of Dragonfly. Toma븊 --------------060407020704020905070009 Content-Type: text/plain; name="jail.8.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jail.8.patch" *** /usr/src/usr.sbin/jail/jail.8 Thu Mar 11 13:28:59 2004 --- jail.8 Mon Sep 27 00:43:04 2004 *************** *** 181,204 **** As with any machine (virtual or not) you will need to set a root password, time zone, etc. - Before beginning, you may want to copy - .Xr sysinstall 8 - into the tree so that you can use it to set things up easily. - Do this using: - .Bd -literal -offset indent - mkdir /data/jail/192.168.11.100/stand - cp /stand/sysinstall /data/jail/192.168.11.100/stand - .Ed .Pp Now start the jail: .Pp .Dl "jail /data/jail/192.168.11.100 testhostname 192.168.11.100 /bin/sh" .Pp You will end up with a shell prompt, assuming no errors, within the jail. ! You can now run ! .Pa /stand/sysinstall ! and do the post-install configuration to set various configuration options, ! or perform these actions manually by editing .Pa /etc/rc.conf , etc. .Pp --- 181,194 ---- As with any machine (virtual or not) you will need to set a root password, time zone, etc. .Pp Now start the jail: .Pp .Dl "jail /data/jail/192.168.11.100 testhostname 192.168.11.100 /bin/sh" .Pp You will end up with a shell prompt, assuming no errors, within the jail. ! You can now do the post-install configuration to set various configuration ! options by editing .Pa /etc/rc.conf , etc. .Pp --------------060407020704020905070009--