Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSX OVA 6.4+ property "VSMgmt" now "Management_Network" #29

Open
giulianoberteo opened this issue Oct 26, 2019 · 1 comment
Open

NSX OVA 6.4+ property "VSMgmt" now "Management_Network" #29

giulianoberteo opened this issue Oct 26, 2019 · 1 comment

Comments

@giulianoberteo
Copy link

NSX OVA from 6.4+ property VSMgmt has been replaced with Management_Network
Script fails with

The property 'value' cannot be found on this object. Verify that the property exists and can be set.
At F:\Dropbox\code\vghetto-vsphere-automated-lab-deployment-master\vsphere-6.7-vghetto-standard-lab-deployment.ps1:617 
char:9
+         $ovfconfig.NetworkMapping.VSMgmt.value = $VMNetwork
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
@daunce
Copy link

daunce commented Mar 28, 2021

Also needs .value on the NTP line.
$ovfconfig.common.vsm_ntp_0.value = $VMNTP

For the fix above, in case anyone isn't sure what the line should be:
$ovfconfig.NetworkMapping.Management_Network.value = $VMNetwork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants