How do I configure a guest VM's static IP address automatically in Citrix XenServer?

Posted by Kev on Server Fault See other posts from Server Fault or by Kev
Published on 2010-09-10T17:48:19Z Indexed on 2011/11/26 9:58 UTC
Read the original article Hit count: 236

To facilitate automation of guest VM provisioning, how do I set (in a script) the IP address on a guest VM's NIC (or NIC's) once a new VM has booted?

Is there a way to "inject" netsh commands via the Citrix guest OS tools (for Windows for example) once the host has started?

Or can this be done via the Citrix API/SDK or the xe tools?

These are windows 2008 servers that have been sysprep'd so when the boot for the first time they have no IP address.

© Server Fault or respective owner

Related posts about virtualization

Related posts about configuration