Skip to content

Commit

Permalink
add some notes to vagrant readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cleary committed Sep 24, 2024
1 parent f363013 commit b6dfe8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vagrant/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Vagrant config files for testing our supported distros. Provisions each of the playbooks against a vagrant box (virtualbox provider) running the specified distro.

## package deps

For VirtualBox:
```
sudo apt-get install vagrant virtualbox-qt libvirt-daemon libvirt-daemon-driver-vbox
```
Expand All @@ -12,7 +14,7 @@ sudo apt-get install vagrant virtualbox-qt libvirt-daemon libvirt-daemon-driver-
Usage:

```
VAGRANT_VAGRANTFILE=Vagrantfile.<distro> vagrant up --provision # initialise and provision
VAGRANT_VAGRANTFILE=Vagrantfile.<distro> vagrant up --provision [--provider=virtualbox | libvirt] # initialise and provision
VAGRANT_VAGRANTFILE=Vagrantfile.<distro> vagrant provision # run all provision tasks against a running box
VAGRANT_VAGRANTFILE=Vagrantfile.<distro> vagrant destroy # get rid of the box, to allow provision against another clean instance/different distro
# NOTE: add the --provision-with=<role> to provision a specific role only
Expand Down

0 comments on commit b6dfe8c

Please sign in to comment.