"hosts" file for jails (ezjail)
Stephen Cook
sclists at gmail.com
Mon Aug 25 01:35:14 UTC 2014
Is there a way to get a bunch of jails (I'm using ezjail) to share the
same hosts file, preferably one stored somewhere on the host OS? I tried
putting a symlink in the "flavour" template but when a jail is created
with that the symlink within the jail pointed to itself and gave me some
sort of recursive error when I tried to "cat" it.
I'd like to be able to update the file when I add a new jail, and have
the others able to connect to it by whatever stupid name I give it,
without editing all those different hosts files. But I suspect the whole
point of jails being kept separate from the host filesystem might be in
my way.
Any advice is welcome! Thanks!
-- Stephen
More information about the freebsd-questions
mailing list