VMware Cloud Community
walterred
Contributor
Contributor

Not able to create a vm using vmcreate.pl



I am not able to create a vm using the vmcreate.pl script.


I am using the default vmcreate.xml 


<Virtual-Machines>



         <Virtual-Machine>



            <Name>test-vm05</Name>



           <Host>xx.xx.xx.xx</Host>



         <Datacenter>ha-datacenter</Datacenter>



           <Guest-Id>rhel6Guest</Guest-Id>



           <Datastore>datastore1</Datastore>



           <Disksize>4194304</Disksize>



           <Memory>1024</Memory>



           <Number-of-Processor>1</Number-of-Processor>



           <Nic-Network>VM Network</Nic-Network>



           <Nic-Poweron>0</Nic-Poweron>



         </Virtual-Machine>



</Virtual-Machines>



and the defualt schema.



the command I am running is  



perl vmcreate.pl --server xx.xx.xx.xx --username root --password XXXXXX



I error I get is "Host not found." But when i run the connect.pl on the host  I get a success


Reply
0 Kudos
0 Replies