Installation¶
Storagepool¶
Box images are stored in ~/.vagrant.d/boxes.
On vagrant up, the box image will be copied to the default storage pool,
as well as the dedicated running box image.
Vagrant init¶
Re-install plugins¶
First try:
If this doesn't help:
If this still doesn't help:
Global config¶
see ~/.vagrant.d/Vagrantfile
Port Forwarding¶
use local caching via squid-deb-proxy¶
increase logging¶
global config file: ~/.vagrant.d/Vagrantfile
add libvirt box from vbox image¶
https://github.com/sciurus/vagrant-mutate
First, add
Now, mutate it
Last, remove the virtualbox one
Issues:
- Doesn't work with ubunut artful (doesn't get IP, virt-mananger shows hanging boot process). See https://github.com/sciurus/vagrant-mutate/issues/102
Plugins¶
vagrant-libvirt¶
Issues¶
Box can't get a dhcp lease¶
vagrant-lxc¶
https://github.com/fgrehm/vagrant-lxc
Quick start:
or:
vagrant sshfs¶
https://github.com/dustymabe/vagrant-sshfs
Sandbox¶
https://github.com/ryuzee/sahara.git
vagrant-proxyconf¶
https://github.com/tmatilai/vagrant-proxyconf
VAGRANT_HTTP_PROXY="http://10.92.21.140:8000" vagrant up
VAGRANT_HTTP_PROXY="http://10.92.21.140:8000" vagrant provision
Vagrant on Windows¶
- Babun
- virtualbox
- vagrant
- rsync
Shared folders¶
nfsnot working (see Troubleshooting below)
-
sshfsnot working:Mounting SSHFS shared folder via slave SSHFS mount failed. Please look at the below STDERR output from the processes that were run. SSH command: Warning: Permanently added '192.168.122.114' (ECDSA) to the list of known hosts. Received disconnect from 192.168.122.114 port 22:2: Too many authentication failures Disconnected from 192.168.122.114 port 22