summaryrefslogtreecommitdiffstats
path: root/xci/files/xci-destroy-env.sh
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-05-04 23:11:35 +0200
committerMarkos Chandras <mchandras@suse.de>2018-06-28 20:03:00 +0100
commit3d4ac3786772ec23791183b4c54a9d6fd922752e (patch)
tree5754b70b800c6161a347f3847fe229c07f7f2029 /xci/files/xci-destroy-env.sh
parentfd09da131991a99a886dd0c65969d30d81499511 (diff)
Use PDF to set up the XCI VMs
This patch is doing the first work item of the spec: https://github.com/opnfv/releng-xci/blob/master/docs/specs/infra_manager.rst It creates the required VMs by XCI to afterwards deploy the VIM. It does that by reading the pdf provided by the user. - It is currently assumed that the OS for the VM will be installed in the first disk of the node described by the pdf - It is assumed that the opnfv VM characteristics are not described in the pdf but in a similar document called opnfv_vm.yml - All references to csv from bifrost-create-vm-nodes were removed Change-Id: I46a85284e4ce7df21cbf66f66619b35f74251e68 Signed-off-by: Manuel Buil <mbuil@suse.com> Co-Authored-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/files/xci-destroy-env.sh')
-rwxr-xr-xxci/files/xci-destroy-env.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/xci/files/xci-destroy-env.sh b/xci/files/xci-destroy-env.sh
index 3de21795..c95ea838 100755
--- a/xci/files/xci-destroy-env.sh
+++ b/xci/files/xci-destroy-env.sh
@@ -40,7 +40,7 @@ fi
# Destroy all XCI VMs on all flavors
for varfile in ${flavors[@]}; do
source ${XCI_PATH}/xci/config/${varfile}-vars
- for vm in ${TEST_VM_NODE_NAMES}; do
+ for vm in ${NODE_NAMES}; do
if which virsh &>/dev/null; then
virsh destroy $vm &>/dev/null || true
virsh undefine $vm &>/dev/null || true