summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-08-06 13:54:33 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-08-06 13:54:33 +0000
commit7fe07e31a3aca294b4093ba238ce648fa4cb0f38 (patch)
tree8701980292f88affa7e1f50d662b5eac790c13fa /ci
parentc52837f7d28b7c0f231be2b0215a7035b26ae302 (diff)
parent827d8e0ea6f083f3b2082c8906a41258ed52f51a (diff)
Merge "[lib.sh] Reset virtual nodes after MaaS install"
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 10b639e3c..40176073d 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -313,6 +313,11 @@ else
wait_for 5 "ssh ${SSH_OPTS} ${SSH_SALT} sudo \
CI_DEBUG=$CI_DEBUG ERASE_ENV=$ERASE_ENV \
/root/fuel/mcp/config/states/${state}"
+ if [ "${state}" = 'maas' ]; then
+ # For hybrid PODs (virtual + baremetal nodes), the virtual nodes
+ # should be reset to force a DHCP request from MaaS DHCP
+ reset_vms "${virtual_nodes[@]}"
+ fi
done
fi