Project

General

Profile

Actions

Bug #16814

closed

VMWare / Clone / OS Guest Customization / DNS is not set

Added by Fab Ien about 8 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Compute resources - VMware
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

Actions #1

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 #2

Updated by Dominic Cleal about 8 years ago

  • Status changed from New to Rejected

Thanks for updating.

Actions

Also available in: Atom PDF