Last active
July 7, 2020 15:46
-
-
Save ikurni/b6508287d835ad82c9b64145f96b002e to your computer and use it in GitHub Desktop.
GOVC Command to Test Create Disk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Environment variable | |
export GOVC_URL=vcenter01.example.com | |
export [email protected] | |
export GOVC_PASSWORD=password | |
export GOVC_INSECURE=true | |
##Govc command to create vmdk file in datastore | |
govc datastore.disk.create -size 1G -ds=DatastoreName folder/disk1.vmdk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment