Hi there,
I have recently deployed the vCO 5.5 appliance, and I'm having problems trying to figure out why my DNS servers are not being populated in /ets/resolv.conf.
I'm using the built-in Clone, Linux with single NIC workflow to clone a CentOS 6.4 template. In my workflow, as an input to the Clone, Linux with single NIC workflow, I am passing an Array/String value of my two DNS servers. I can run this workflow no problems, the VM deploys and settings like hostname, IP address, Netmask and Gateway are set - just not DNS servers.
If I run cat /etc/resolv.conf I get nothing, not even comments in the file. Name resolution fails as a result.
FYI - in my CentOS VM, I'm not using NetworkManager. I have read that vCD customisation and DNS can not play together if NetworkManager is enabled. I have checked this in my template and I can confirm I'm not using NetworkManager.
Logs from the workflow run don't show anything revealing (from /var/log/vco/app-server/server.log)
2013-12-06 11:25:11.988+1100 [http-bio-0.0.0.0-8281-exec-67] INFO {} [AdminClientImpl] Client was created successfully
2013-12-06 11:25:12.429+1100 [http-bio-0.0.0.0-8281-exec-67] INFO {} [AdminClientImpl] Client was created successfully
2013-12-06 11:25:14.603+1100 [http-bio-0.0.0.0-8281-exec-67] INFO {} [SecurityTokenServiceImpl] Successfully acquired token for user: <username>@<domain>
2013-12-06 11:25:15.483+1100 [http-bio-0.0.0.0-8281-exec-67] INFO {} [SecurityTokenServiceImpl] Successfully acquired token for user: {Name: <username>, Domain: <domain>}
2013-12-06 11:25:15.491+1100 [http-bio-0.0.0.0-8281-exec-67] INFO {} [Execution] Executing workflow 'Clone Linux'
2013-12-06 11:25:15.499+1100 [org.springframework.jms.listener.DefaultMessageListenerContainer#0-1] INFO {} [Execution] Invoking workflow handler.ff80808142b2f1960142c54b4be50065
2013-12-06 11:25:19.653+1100 [WorkflowExecutorPool-Thread-7] INFO {<username>:Clone Linux:24c7350a-94a5-47f3-a2a9-1c2b467846fe:ff80808142b2f1960142c54b4be50065} [SCRIPTING_LOG] [Clone Linux/Clone, Linux with single NIC (12/6/13 11:25:15)] Found a Virtual Ethernet card at 12. Key: 4000
Anyone else had this issue or could offer pointers as to what the cause may be?
Thanks,
Chris.