OT: dpkg hangs unpacking

Thomas Neumann blacky+fai at fluffbunny.de
Fri Feb 10 11:01:22 CET 2012


> On Fri, Feb 10, 2012 at 9:26 AM, Carsten Aulbert
> In theory from the dhcp option hostname, some classess are
> automattically added for cfengine (things like: if the hostname
> matches a regex, for instance).

You can use fai to echo/print the new hostname to
/proc/sys/kernel/hostname and update the hostname 'on-the-fly'. cfengine
should then see the new hostname and define an appropriate class.

(This works only if fai is able to determine the hostname dhcp is going to
assign.)



More information about the linux-fai mailing list