Patch for jail.8 to remove references to sysinstall which is not

看板DFBSD_submit作者時間21年前 (2004/09/27 07:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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--
文章代碼(AID): #11Lqev00 (DFBSD_submit)