Hello,
if I have a VM with more than one nic, how can I change the adapter type of a specific nic?
Missing an argument or option to specify the index (e.g. from vcd vm list-nics)
vcd vm update-nic --adapter-type VMXNET3 <vapp-name> <vm-name> <nic-index>
or
vcd vm update-nic --index 1 --adapter-type VMXNET3 <vapp-name> <vm-name>
vcd vm update-nic -h
Usage: vcd vm update-nic [OPTIONS] <vapp-name> <vm-name>
Options:
--adapter-type <adapter-type> adapter type of nic - one of
VLANCE|VMXNET|VMXNET2|VMXNET3|E1000
--primary whether nic has to be a primary
--connect whether nic has to be connected
--network <network> network to connect to [required]
--ip-address-mode <ip-address-mode>
IP address allocation mode - one of
DHCP|POOL|MANUAL|NONE
--ip-address <ip-address> nanual IP address that needs to be allocated
to the nic
-h, --help Show this message and exit.
Hello, if I have a VM with more than one nic, how can I change the adapter type of a specific nic?
Missing an argument or option to specify the index (e.g. from vcd vm list-nics)