Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Mar 2010 14:26:05 +0100
From:      Marco Steinbach <coco@executive-computing.de>
To:        Panagiotis Christias <christias@gmail.com>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: How could a jail learn which is its parent host?
Message-ID:  <4B8D11ED.7020504@executive-computing.de>
In-Reply-To: <e4b0ecef1003020037v79d0c334sedc65ffae094e29a@mail.gmail.com>
References:  <e4b0ecef1003020037v79d0c334sedc65ffae094e29a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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