Quantcast
Channel: VMware Communities : Discussion List - vCenter™ Server
Viewing all articles
Browse latest Browse all 6649

Error in installing vcenter server appliance using PowerCLI

$
0
0

Hi,

 

     We are planning to deploy vCenter server using VMware PowerCLI, we have ESXi 5.5 server on which vcenter appliance server (ova) needs to be deployed. We need to provide customization variable in our Power CLI as. Following is the code to deploy the OVA:

 

        $custSpec=New-OSCustomizationSpec-Type NonPersistent -OSType Linux -OrgName“My Organization” -FullName“MyVM” -Domain“MyDomain”  –DomainUsername “user” –DomainPassword “password”

 

        $custSpec|Get-OSCustomizationNicMapping|Set-OSCustomizationNicMapping-IpMode UseStaticIP -IpAddress xx.xx.xx.xx  -SubnetMask 255.255.255.128 -Dns xx.xx.xx.xx

-DefaultGateway xx.xx.xx.xx

        New-VM-Name“MyNewVM” -Template$template-VMHost$vmHost -OSCustomizationSpec$custSpec

 

However while running the above command it gives error message as the above command only valid for 32 bit address.

 

Can anoyone help me in getting similar function for 64 bit.


Viewing all articles
Browse latest Browse all 6649

Trending Articles



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