Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


1- add an Archlinux box  ( for virtualbox ) 


Code Block
titlevagrant box add archlinux/archlinux
collapsetrue
PS C:\Users\jkriker\Documents\vagrant\veos.box2> vagrant box add archlinux/archlinux
==> box: Loading metadata for box 'archlinux/archlinux'
    box: URL: https://vagrantcloud.com/archlinux/archlinux
This box can work with multiple providers! The providers that it
can work with are listed below. Please review the list and choose
the provider you will be working with.

1) libvirt
2) virtualbox

Enter your choice: 2
==> box: Adding box 'archlinux/archlinux' (v2018.09.05) for provider: virtualbox
    box: Downloading: https://vagrantcloud.com/archlinux/boxes/archlinux/versions/2018.09.05/providers/virtualbox.box
    box: Progress: 4% (Rate: 183k/s, Estimated time remaining: 0:48:40))


2- install the disksize plugin

vagrant plugin install vagrant-disksize


3- Modify the vagrantfile


Code Block
titleVagrantfile
collapsetrue
Vagrant.configure("2") do |config|
  config.vm.box = "archlinux/archlinux"
  #config.disksize.size = "20GB"
end