Quantcast
Channel: VMware Communities : Discussion List - vSphere SDK for Perl
Viewing all articles
Browse latest Browse all 1577

Guest customization with cloneVM task: IP & default GW

$
0
0

Hi All,

 

I am using the cloneVM_task to clone a VM machine with customiztion object. The VM is linux (rhel5) installed with vmware-tools and i am using vSphere 5.0.

 

 

I have 2 question about network customiziton:

 

1. Can i customize the VM Guest NICS to not start at all - I mean not to run at all on startup (i.e setting "ONBOOT=NO" in the ifcfg-eth* file).

    I tried using CustomizationUnknownIpGenerator as an IP for each device - but it fails. Setting DHCP is working.

 

2. Can I configure a default GW for the guest VM, and if so - how? (i.e - i mean to change the /etc/sysconfig/network file enty "GATEWAY=...")

 

Thanks for your help,

 

Dori


Viewing all articles
Browse latest Browse all 1577

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>