[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Set hostname in DHCP response
From: |
Ed Swierk |
Subject: |
[Qemu-devel] [PATCH] Set hostname in DHCP response |
Date: |
Thu, 9 Mar 2006 23:35:09 -0800 |
Here is a patch that sets the hostname in the DHCP response generated
by qemu's user-net DHCP server, and adds a new -hostname command line
option to specify the value.
If the guest OS is configured properly, the value received in the DHCP
response is automatically used to set the machine's hostname. (In Red
Hat/Fedora Linuxes, this happens if HOSTNAME is not hardcoded in
/etc/sysconfig/network.)
Feedback welcome.
--Ed
qemu-hostname.patch
Description: Text Data
- [Qemu-devel] [PATCH] Set hostname in DHCP response,
Ed Swierk <=