How could a jail learn which is its parent host?

Marco Steinbach coco at executive-computing.de
Tue Mar 2 13:26:17 UTC 2010


Panagiotis Christias schrieb:
> Hello,
> 
> I am looking for a simple way so each jail could know at any time in
> which (physical) server is hosted. Any suggestions?

Depending on your needs and setup, how about simply having the host 
create a file within the jail containing all needed information upon 
jail startup (e.g. by using jail_exec_prestart, see rc.conf(5)) or at 
regular intervals ?


MfG CoCo


More information about the freebsd-jail mailing list