[Users] /usr/bin/hostid in VPS

Alastair Neil ajneil at gmail.com
Tue Jun 10 15:07:21 EDT 2008


I would like to encapsulate a server that runs a variety of license managers
including flexlm.  Many of these systems rely on generating a hostid
generally either the MAC address of the primary network interface or a hash
generated by /usr/bin/hostid.  In an OpenVZ VPS hostid returns 00000000, is
there a way to spoof this so that I can keep the license managers happy
regadless of the system/network inferface it is actually using? I tried
setting up a veth device that spoofed the original MAC address but hostid
still returns 00000000.

Thanks, Alastair
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20080610/41f460dc/attachment.html


More information about the Users mailing list