tests: provide a way use libvirt with vagrant and tox

This allows for:

tox -- --provider=libvirt

Signed-off-by: Andrew Schoen <aschoen@redhat.com>

Resolves: vagrant#boxes
pull/1087/head
Andrew Schoen 2016-11-08 17:00:09 -06:00
parent 0522d32e7e
commit db657ed8e1
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ changedir=
xenial-mon-osd: {toxinidir}/tests/functional/ubuntu/16.04/mon-osd xenial-mon-osd: {toxinidir}/tests/functional/ubuntu/16.04/mon-osd
centos7-mon-osd: {toxinidir}/tests/functional/centos/7/mon-osd centos7-mon-osd: {toxinidir}/tests/functional/centos/7/mon-osd
commands= commands=
vagrant up --no-provision --provider=virtualbox vagrant up --no-provision {posargs:--provider=virtualbox}
bash {toxinidir}/tests/scripts/generate_ssh_config.sh {changedir} bash {toxinidir}/tests/scripts/generate_ssh_config.sh {changedir}
ansible-playbook -vv -i {changedir}/hosts {toxinidir}/site.yml.sample ansible-playbook -vv -i {changedir}/hosts {toxinidir}/site.yml.sample