[Ovirt-devel] [PATCH] disable sending option hostname

Alan Pevec apevec at redhat.com
Wed Jun 11 17:10:34 UTC 2008


by default option hostname sent by dnsmasq is non-FQDN
if not set, dhclient-script won't set it and ifup will do the right thing (get FQDN via reverse DNS lookup and set that as hostname)

diff --git a/wui-appliance/wui-devel-x86_64.ks b/wui-appliance/wui-devel-x86_64.ks
index 2ac7511..3e5b338 100644
--- a/wui-appliance/wui-devel-x86_64.ks
+++ b/wui-appliance/wui-devel-x86_64.ks
@@ -202,6 +202,7 @@ start() {
         -W _identify._tcp,management.priv.ovirt.org,12120 \
         --enable-tftp --tftp-root=/var/lib/tftpboot -M pxelinux.0 \
         -O option:router,192.168.50.2 -O option:ntp-server,192.168.50.2 \
+        --dhcp-option=12 \
         -R --local /priv.ovirt.org/ --server 192.168.122.1
     
     # Set up the fake iscsi target




More information about the ovirt-devel mailing list