Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2015 11:13:18 -0600
From:      Mark Felder <feld@FreeBSD.org>
To:        Dirk Engling <erdgeist@erdgeist.org>, freebsd-jail@freebsd.org
Subject:   Re: preferred jail management tool
Message-ID:  <1422378798.471657.219584245.23835460@webmail.messagingengine.com>
In-Reply-To: <54C7C4C4.60908@erdgeist.org>
References:  <CACfj5vKjiQHsy9VbOKFFcrBpyr3dmbkOOxTxCYhSyZrnrjRiaQ@mail.gmail.com> <CAHieY7TyxzC0aK-ErY2EbCmTJPykk_9G7Gd=CrZ9yxQ-77PynA@mail.gmail.com> <20150127012347.GA4940@lonesome.com> <20150127141239.V77290@sola.nimnet.asn.au> <54C7958B.40007@gmail.com> <CAHieY7TWDRjE5hWoo1-oQRKHKvxEDbKYO4RHP20F=gCcbNH3DA@mail.gmail.com> <1422377865.3055728.219576589.684C5A1B@webmail.messagingengine.com> <54C7C4C4.60908@erdgeist.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, Jan 27, 2015, at 11:03, Dirk Engling wrote:
> On 27.01.15 17:57, Mark Felder wrote:
> 
> > I'll admit that last time I used ezjail I found it frustratingly
> > difficult to locate concise documentation on exactly how flavours
> > worked, and how to use scripts to do things to the new jails as well as
> > copying in the files I wanted. Maybe I just didn't look hard enough,
> > though.
> 
> Well, I built flavours as stupidly simply as it gets: all it does is to
> copy files and some of them happen to be located in /etc/rc.d, being
> executed at the first start up. If you would have taken a single look
> into the example flavour, you should have noticed.
> 
> Even in the old docs this was pointed out, the overhauled man pages do
> that even more precisely.
>

Eventually I figured out I could just mirror hier(7) in the flavour and
it would copy files in, but I swear there were references to people
getting the flavour to run custom shell scripts during the creation of
the jail but I couldn't find good examples of that.

Again, this was a couple years ago. I don't have recent experience or
memories of this exact problem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1422378798.471657.219584245.23835460>