Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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

share|improve this answer
    
Can't use DHCP, the servers require static IP addresses. –  Kev Sep 20 '10 at 10:58
2  
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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