diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-12-13 15:08:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-12-13 15:08:27 +0000 |
commit | f176326f3220aa5c91c3697c0f2b2a93b8a52956 (patch) | |
tree | 3978df4068ef3e3e652ffb1cc9b4270818107f21 /mcp/config/states | |
parent | 77a990e3bf3585cdf4587ce9658bb50f9b50c7d2 (diff) | |
parent | 59cc3ee4457005bdea78b2a407243d4fcb32f177 (diff) |
Merge "[VCP] Reboot all VCP VMs after network config"
Diffstat (limited to 'mcp/config/states')
-rwxr-xr-x | mcp/config/states/virtual_control_plane | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcp/config/states/virtual_control_plane b/mcp/config/states/virtual_control_plane index 5b54bb8a4..ffb2c594e 100755 --- a/mcp/config/states/virtual_control_plane +++ b/mcp/config/states/virtual_control_plane @@ -58,7 +58,7 @@ wait_for 10.0 "salt -C 'E@^(?!cfg01|mas01|kvm|cmp00).*' state.apply linux,ntp" wait_for 10.0 "salt -C 'E@^(?!cfg01|mas01|kvm|cmp00).*' ssh.set_auth_key ${SUDO_USER} \ $(awk 'NR==1{print $2}' "$(eval echo "~${SUDO_USER}/.ssh/authorized_keys")")" -salt -C 'prx*' system.reboot -wait_for 30.0 "salt -C 'prx*' test.ping" +salt -C 'E@^(?!cfg01|mas01|kvm|cmp00).*' system.reboot +wait_for 30.0 "salt -C 'E@^(?!cfg01|mas01|kvm|cmp00).*' test.ping" salt -C 'E@^(?!cfg01|mas01|kvm|cmp00).*' pkg.upgrade refresh=False dist_upgrade=True |