VMware Cloud Community
pravi1986
Contributor
Contributor

Not able to ipaddress/gateway/netmask field configuration for deployed ovf in VM using ovftool

Hi,

I want to config IP-address/gateway/netmask to the deployed ovf virtual machine and i getting the following info when i run ovftool.exe

Can anyone help me out in configure ipaddress fields.

Or is there any other way to do it.

C:\Program Files\VMware\VMware OVF Tool>ovftool.exe --powerOn --diskMode=thin --
ipProtocol=IPv4 --acceptAllEulas --name=pravin --network="VM Network" --prop:IpA
ddress="10.110.208.16" --prop:SubnetMask="255.255.252.0" --prop:Dns="10.110.188.
5" --prop:DefaultGateway="10.110.208.1" --datastore="datastore1" "C:\Sharing\v35
9\ovf_filename.ovf" " vi://root:password@10.110.209.214"
Opening OVF source: //:@WIN-1VPBHEDRE5M:80\Sharing\v359\ovf_filename.ovf
Opening VI target: vi://root@10.110.209.214:443/
Deploying to VI: vi://root@10.110.209.214:443/
Transfer Completed
Powering on VM: pravin
Warning:
- No manifest file found.
- OVF property with key: 'DefaultGateway' does not exists.
- OVF property with key: 'Dns' does not exists.
- OVF property with key: 'IpAddress' does not exists.
- OVF property with key: 'SubnetMask' does not exists.
- No manifest entry found for: 'system.vmdk'.
Completed successfully
0 Kudos
8 Replies
pravi1986
Contributor
Contributor

Can anyone help me in resolving this problem ?

0 Kudos
bithead2
Enthusiast
Enthusiast

Assuming you are using the VAMI services (like VMware Studio embeds), you want something like:

--prop:vami.DNS.Your_VM_Name=10.2.4.6,10.7.8.9"

Does this help?

CJ

0 Kudos
pravi1986
Contributor
Contributor

Still its not working. i am having the ESXi host alone and is there any specific software to be installed for using --prop:vami

0 Kudos
bithead2
Enthusiast
Enthusiast

If you are deploying direct to a host instead of through a vCenter, VAMI won't do anything at all.

CJ

0 Kudos
pravi1986
Contributor
Contributor

Here I am deploying directly to ESXi host. So then how do i configure IP address and other network settings for the deployed vm machine(SLES OS) ??

0 Kudos
bithead2
Enthusiast
Enthusiast

You use the OS tools like Yast2.

CJ

0 Kudos
pravi1986
Contributor
Contributor

i am trying to automate the process of Operating system Deployment and network configuration of the same.

So i need a way for the same.

That's the reason why i am not using yast2.

Is there any other way to automate this ??

-Pravin

0 Kudos
Ben_832
Contributor
Contributor

Did this problem get solved?  I would also like to set the IP of a VM at deploy time.

0 Kudos