3

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.

Kev
  • 7,777
  • 17
  • 78
  • 108

1 Answers1

-1

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

knitti
  • 700
  • 6
  • 9
  • 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