Skip to content
Discussion options

You must be logged in to vote
./govc vm.customize \ 
-k=true -u='*********' \
-dc='vSAN Datacenter' \
-vm='DEV-UBNT-TMP01' \
-name='dev-ubnt-template' \
-mac=00:50:56:94:ae:80 \
-ip=192.168.50.77 \ 
-netmask=255.255.255.0 \
-ip6 '2001:db8::1/64' \
-domain='ubnt01.infra.local' \
-vim-namespace=6.7

to assign an IP address to the only network adapter. I need to set a fixed IP address even though there is a DHCP server in the network. In the virtual machine tasks, the task executes successfully, but it changes the network interface's autoconnect setting to false. Is it possible to assign static IP addresses?

Reconfigured DEV-UBNT-TMP01 on node-2.dclogic.ru in vSAN Datacenter.

Modified:

config.tools.pendingCustomization:…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@villiwalla
Comment options

Answer selected by tenthirtyam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants