This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| vagrant [2017-03-04] – created dcai | vagrant [2020-04-20] (current) – dcai | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== vagrant ====== | ||
| + | |||
| + | === Find private key === | ||
| + | |||
| + | vagrant ssh-config | ||
| + | |||
| + | === resize small root partition for ubuntu' | ||
| + | |||
| + | < | ||
| + | VBoxManage clonehd " | ||
| + | VBoxManage modifyhd " | ||
| + | # remove all other disk for the instance, and add hdd.vdi | ||
| + | # now vagrant up | ||
| + | sudo cfidsk /dev/sda # remove /dev/sda2 if exists and expand sda1 to max | ||
| + | sudo resize2fs /dev/sda1 | ||
| + | </ | ||