I can use 'vmkfstools --createvirtualdisk <size>G --diskformat thin <location>' to create a new virtual disk (*.vmdk) file, but how do I get the VM to recognize this new disk in its configuration?
I need to do this through the cli. I can do it in vSphere Client in Edit Settings, Add, Hard Disk, "Use an existing virtual disk".
Anyone successfully do this using esxcli or other CLI commands, or in the Perl SDK?
Thanks.