Hi,
did anybody try vsphere vApp setup? (there is a support for it in pysphere) It will be quite nice to have possibility to deploy from cloning/creating to setup IP and start up fully functional VM (some internal init script which will grab set vApp and change networking)
vapp = set_vapp_property(vapp, ‘hostname’, data[item][‘hostname’])
vapp = set_vapp_property(vapp, ‘eth0_IP’, data[item][‘ipv4’])
vapp = set_vapp_property(vapp, ‘eth0_mask’, data[item][‘ipv4_netmask’])
vapp = set_vapp_property(vapp, ‘eth0_gw’, data[item][‘ipv4_gateway’])
Server init script (run once at start, after boot ansible/puppet/… can take control):
Clone automatically start up VM (clone and power state are mutually exclusive)
How to use reconfigure state ?
2a. VLAN change (reconfigure state) it’s not working
2b. Adding notes to VM not working (jenkins build number, date, …)
2c. All parameters need to be set, even If you need to change one