Date: Mon, 22 Mar 2010 11:40:06 +0800 From: Aiza <aiza21@comclark.com> To: Mark Shroyer <subscriber+freebsd@markshroyer.com> Cc: freebsd-questions@freebsd.org Subject: Re: ezjail Message-ID: <4BA6E696.4040901@comclark.com> In-Reply-To: <4BA6CB8B.8070309@markshroyer.com> References: <4BA5AA53.5030503@comclark.com> <4BA69566.2040504@markshroyer.com> <4BA6B80F.7050806@comclark.com> <4BA6CB8B.8070309@markshroyer.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>> I found the man ezjail-admin has this format >> ezjail-admin install -h file:// Where -h file:// means get the >> binaries from the host system the jails are running on. Am I correct? > > Yes, according to the man page. I haven't tried it yet myself, since I > set up my basejail before this option was available. > Well I tried it. The man page does not explain it clearly. What the -h really means is the -h file:// is the location for the release-8.0/base/ files. These files are not part of the base release directory tree that are part of the running system. They are only on the .iso install image such as the disc1.iso. I mounted the Release 8.0 disc1 install cd and changed into directory cd /cdrom/8.0-RELEASE and issued ezjail-admin install -h file:// it ran creating 3 jails, /usr/jails/basejail, /usr/jails/newjail, /usr/jails/flavours. This is not the same as copying the binaries from the host system. Next step is to ID directory names in the basejail and recreate basejail using the cpdup command to copy the host binaries. I see 2 questionable directories in the basejail, boot and rescue. Can I remove them from the basejail?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BA6E696.4040901>