Actions
Bug #16814
closedVMWare / Clone / OS Guest Customization / DNS is not set
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Compute resources - VMware
Target version:
-
Description
When i create a VM in VMWare from a clone / Template, using OS Guest Customization (via user-data).
The DNS servers are not set:
open-vm-tools log shows:
/var/log/vmware-imc/toolsDeployPkg.log
Customization command output: INFO: Opening file name /tmp/.vmware/linux/deploy/cust.cfg.
DEBUG: [DNS]
DEBUG: FOUND CATEGORY = DNS
DEBUG: DNSFROMDHCP=yes
DEBUG: ADDED KEY-VAL :: DNS|DNSFROMDHCP = yes
If i create the VM from vSphere Client, the DNS is correctly set up
Updated by Fab Ien about 8 years ago
please, close
our user-data was incorrect, the following line was missing:
dnsServerList: [<%=@host.subnet.dns_primary%>, <%=@host.subnet.dns_secondary%>]
Actions