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.

link|improve this question

feedback

1 Answer

Sounds to me like a very custom (and thus very high maintenance) solution. What about DHCP?

link|improve this answer
Can't use DHCP, the servers require static IP addresses. – Kev Sep 20 '10 at 10:58
1  
Whats the requirement? You can fix an IP address to a MAC (and thus to a NIC/server) with DHCP. Or is the requirement that there shouldn't be any DHCP server? – knitti Sep 20 '10 at 11:18
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.