Comment 2 for bug 1202758

Revision history for this message
Scott Moser (smoser) wrote :

I really have no good ideas on how to do this.
The simplist solution I think woudl be to have a tool like:
 dhcp-advertize-hostname --interface=eth0 --hostname=foo

and just invoke it. That tool would just do a dhcp request with the hostname set. I'm just not familiar enough with how dhcp works to say if we can actually do that or not. It seems at very least that we'd risk invalidating the lease.

This code would only be run on azure, so that would minimize the issue.

bouncing the interface like walinuxagent does is really less than ideal.