From b6dfe8c0fda1d6fd0231eb9793564066472cb449 Mon Sep 17 00:00:00 2001 From: Bernard Gray Date: Wed, 25 Sep 2024 06:30:15 +1000 Subject: [PATCH] add some notes to vagrant readme --- vagrant/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vagrant/README.md b/vagrant/README.md index 0b2edd5..644d354 100644 --- a/vagrant/README.md +++ b/vagrant/README.md @@ -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 ``` @@ -12,7 +14,7 @@ sudo apt-get install vagrant virtualbox-qt libvirt-daemon libvirt-daemon-driver- Usage: ``` -VAGRANT_VAGRANTFILE=Vagrantfile. vagrant up --provision # initialise and provision +VAGRANT_VAGRANTFILE=Vagrantfile. vagrant up --provision [--provider=virtualbox | libvirt] # initialise and provision VAGRANT_VAGRANTFILE=Vagrantfile. vagrant provision # run all provision tasks against a running box VAGRANT_VAGRANTFILE=Vagrantfile. vagrant destroy # get rid of the box, to allow provision against another clean instance/different distro # NOTE: add the --provision-with= to provision a specific role only