/
How-to add a virtual disk to VM using vss-cli
How-to add a virtual disk to VM using vss-cli
(Optional) Depending on a setup/installation, we might want to activate a specific virtual environment:
. ~/venvs/vsscliENV4/bin/activate
Search for VM uuid by name:
(vsscliENV)$ vss-cli compute vm ls -f name casx2
uuid name
------------------------------------ ------------------
<uuid> 1306P-arborexcasx2
Get the current disks:
$ vss-cli compute vm get <uuid-or-vmname>
Uuid : <uuid>
Label : Hard disk 1
Capacity Gb : 300
Label : Hard disk 2
Capacity Gb : 3
Add 10GB disk
$ vss compute vm set <name-or-vm-id> disk mk --capacity 10
For more information, please refer to Manage Virtual Disks from the VSS CLI official documentation site.
Related content
Manage Virtual Disks with the vss-cli
Manage Virtual Disks with the vss-cli
More like this
Manage VMware Paravirtual SCSI Controller with the vss-cli
Manage VMware Paravirtual SCSI Controller with the vss-cli
More like this
Manage Virtual Disks
Manage Virtual Disks
More like this
ITS Private Cloud CLI (vss-cli) Cheat Sheet - Virtual Machine Update
ITS Private Cloud CLI (vss-cli) Cheat Sheet - Virtual Machine Update
More like this
How-to Create Virtual Machines
How-to Create Virtual Machines
More like this
How-to Change CPU, Memory, Network, HDD specs after a VM is created
How-to Change CPU, Memory, Network, HDD specs after a VM is created
More like this
University of Toronto - Since 1827