We've got a pool of static IP's in a network profile..
We're using the LinuxKickstartWorkflow to provision VM's.
Anyone know how we can have an IP address assigned from the Profile?
Is it as simple as adding the VirtualMachine.NetworkN.ProfileName custom property.? If so, how does it get passed
You can follow following steps..
The IP address is saved in an answer file. The next time you boot, the answer file information is applied to the host. One answer file per host is available.
Take care!
I mentioned in my post: "We're using the LinuxKickstartWorkflow to provision VM's.". The profile I'm referring to is 'Network Profile' which comes from VCAC.
I recommend relocating your post to a Host-profile thread. This thread is for VCAC.
Thanks for the effort.
Paul,
You should be able to grab an IP by either associating the network profile you created with the port group in the virtual reservation, or using the VirtualMachine.Network0.ProfileName with the name of the profile as you mentioned, if you have multiple port groups selected in the virtual reservation you will also want to specify the port group with VirtualMachine.Network0.Name.
I'm not sure if you have the kickstart provisioning working without the static IP assignment, but you will need a DHCP available for the initial boot to the ISO that starts the kickstart process so the agent can startup and get the work items from vCAC, one of those work items should be the IP address and host name.