[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] add custom mounts?



Michael Scheidell wrote:
> I want to add custom mounts when I build new jails.
> 
> example:  if I wanted to have 16 jails, all doing exactly the same
> thing, why not (read only) mount:
> 
> /usr/local
> 
> would mount (shared)  ../sbin ../bin  ../libexe  ../perl and php stuff...
> 
> executables would be same executables (save memory, disk space) and
> upkeep.. only one set of files to run a portsupgrade on.
> 
> 
> (with a private , rw /usr/local/etc for each one)
> 
> any idea easy way to go about this?

Why not put your stuff into basejail/usr/local and create a link from
/basejail/usr/local to /usr/local in every jail? Could be done by a flavour.

greetings,
philipp