vmware-archive / vcd-cli

Command Line Interface for VMware vCloud Director
https://vmware.github.io/vcd-cli
Other
163 stars 104 forks source link

Creating an isolated vDC network with DHCP disabled not working #555

Open wifinerd opened 2 years ago

wifinerd commented 2 years ago

Hello!

I am trying to use the vcd-cli to create isolated networks with the automatically created DHCP setting disabled, and the docs say this should work:

vcd network isolated create -g 192.168.99.1 -n 255.255.255.0 DHCPOFFTEST --dhcp-disabled

However, when I run that command, DHCP is enabled by default. I'm hoping there's a nuance in API version or something that I can use to work around this behavior. Or that I'm doing something dumb! :-)

VCD version: 10.1.2 Running Ubuntu on Windows 10, updated as of yesterday.