preferred jail management tool
Mark Felder
feld at FreeBSD.org
Tue Jan 27 17:13:20 UTC 2015
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.
More information about the freebsd-jail
mailing list