fix check for existing distgit VM in beaker-tests

This commit is contained in:
clime 2018-11-15 15:49:17 +01:00
parent d2329ea330
commit ed72dfc827

View file

@ -38,7 +38,7 @@ if [ -z $DISTGIT_FLAVOR ]; then
fi
DISTGITSTATUS=`mktemp`
vagrant status distgit | tee $DISTGITSTATUS
vagrant status $DISTGIT_FLAVOR | tee $DISTGITSTATUS
if grep -q 'not created' $DISTGITSTATUS; then
vagrant up $DISTGIT_FLAVOR
else