So I did a snapshot using the hitachi CCI technology, I then presented the datastores/snapshot to VMware, then took the vmx file from the datastore to the inventory, I need a script to bring up the snapshot on a new ip address, netmask and hostnames so as to avoid conflict from the main main machine I got the snapshot from.
Your help will be appreciated.
You didn't mention what kind of guest OS is inside those VMs.
But a general solution (Windows and Linux) would be to use the Invoke-VMScript cmdlet.
With that cmdlet you can send commands/scripts to the guest OS of a VM, and via that path you can use the regular commands (in the guest OS) to change settings like IP, netmask and hostname.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hi, thank you for your help.
The OS I am referring to is Linux(centos 7)
I'm afraid that I'm not a Linux OS specialist, but I suspect Google might help.
It looks that you have to create a file in the /etc/sysconfig/network-scripts folder.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference