On Thu, 14 May 2015 09:36:29 -0500
Brandon Wandersee <brandon.wandersee at zoho.com> wrote:
> On 05/14, Marko Cupa? wrote:
> > Hi,
> >
> > I was wondering if poudriere jails created with ftp can be exported
> > via NFS and mounted from diskless clients as described in handbook:
> >
> > https://www.freebsd.org/doc/en/books/handbook/network-diskless.html
> >
> > Are they 'complete' jails, with the same functionality as ones
> > created with:
> >
> > # cd /usr/src
> > # make buildworld
> > # make buildkernel
> > # make installworld DESTDIR=${NFSROOTDIR}
> > # make installkernel DESTDIR=${NFSROOTDIR}
> > # make distribution DESTDIR=${NFSROOTDIR}
> >
>
> I believe the answer may be "Yes," but why?
Because creating a jail with poudriere takes a minute, while creating
it in a traditional (buildworld/buildkernel) way takes an hour. Things
get even more complicated with buildworld/buildkernel if I need
multiple versions and architectures while with poudriere it's very
easily achieved.
> The package repository is separate from the jail. Unless you have
> some exceptional case there's really nothing in the jail itself worth
> exporting over a network.
I need the jail itself, in order to mount it as / over NFS on a diskless
client.
--
Marko Cupa?
https://www.mimar.rs