Created
March 3, 2016 20:38
-
-
Save zinovyev/f3d7884b5de86ef38d9e to your computer and use it in GitHub Desktop.
Resize vagrant VM
This file contains 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
VBoxManage clonemedium [/path/to/vagrant.vmdk] [/path/to/vagrant.vdi] --format vdi # Clone to vdi cause VBox can not resize vmdk format | |
VBoxManage modifyhd [/path/to/vagrant.vdi] --resize 30000 # Resize to 30Gb | |
VBoxManage modifyvm [wbox-name] --hda [/path/to/vagrant.vdi] # Attach to VM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment