Skip to content

Latest commit

 

History

History
65 lines (39 loc) · 1006 Bytes

Vagrant.md

File metadata and controls

65 lines (39 loc) · 1006 Bytes

Vagrant

Install Vagrant

Install Vagrant on Windows

Install Vagrant on Mac

Install VirtualBox (aka VBox)

Install VirtualBox on Windows

Install VirtualBox on Mac

Vagrant disk

Where is my Vagrant disk?

For Windows

%USERPROFILE%\.vagrant.d\boxes\geerlingguy-VAGRANTSLASH-ubuntu2004\1.0.4\virtualbox

1673401264485

How to specify the disk size of Vagrant?

vagrant plugin install vagrant-disksize

Use the following in our Vagrantfile:

vagrant.configure('2') do |config|
    config.vm.box = 'ubuntu/xenial64'
    config.disksize.size = '50GB'
end

Vagrant commands

Vagrant destroy

vagrant destroy -f

Vagrant up

vagrant box list

Vagrant ssh

vagrant@vagrant:~$ uname -a
Linux vagrant 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Vagrant init

No need.

Vagrant password

The default password is "vagrant"