Skip to content

Instantly share code, notes, and snippets.

@zinovyev
Created March 3, 2016 20:38
Show Gist options
  • Save zinovyev/f3d7884b5de86ef38d9e to your computer and use it in GitHub Desktop.
Save zinovyev/f3d7884b5de86ef38d9e to your computer and use it in GitHub Desktop.
Resize vagrant VM
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