diff options
author | Markos Chandras <mchandras@suse.de> | 2018-03-09 14:37:16 +0000 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2018-03-09 14:37:16 +0000 |
commit | 718ceb6421da12ff3ae72305f9667c3785d0d8ea (patch) | |
tree | de07aeb649220432059ccda3824037b4def210af /xci/playbooks/roles/configure-ceph | |
parent | f06fd879a8a5f715f410456aad8d32d10a4edea0 (diff) |
bifrost: Do not run virsh commands if it's not installed
Check if 'virsh' is available before trying to remove the VMs:
Fixes the following warning
./scripts/destroy-env.sh: line 36: virsh: command not found
./scripts/destroy-env.sh: line 37: virsh: command not found
./scripts/destroy-env.sh: line 36: virsh: command not found
./scripts/destroy-env.sh: line 37: virsh: command not found
./scripts/destroy-env.sh: line 36: virsh: command not found
./scripts/destroy-env.sh: line 37: virsh: command not found
Change-Id: I9c82c8b8b40462584c6324871284ba12d660ae9d
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/playbooks/roles/configure-ceph')
0 files changed, 0 insertions, 0 deletions