summaryrefslogtreecommitdiffstats
path: root/mcp/config
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-09-21 14:00:28 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-09-21 14:00:28 +0000
commitf172f8e3dc92710f79a33ad38aa3da6313da879c (patch)
tree610357bbcea7a37a1cb9a5d16c8502cb1eb74296 /mcp/config
parent7099ffcba4c7a84dfd2ac53fd59149948665f884 (diff)
parent3ee785abc3b36e10a5c89e879168725a135b731b (diff)
Merge "[state] virtual_init: Limit to mas01 on baremetal"
Diffstat (limited to 'mcp/config')
-rwxr-xr-xmcp/config/states/virtual_init1
1 files changed, 1 insertions, 0 deletions
diff --git a/mcp/config/states/virtual_init b/mcp/config/states/virtual_init
index 47d69cd8a..46d880471 100755
--- a/mcp/config/states/virtual_init
+++ b/mcp/config/states/virtual_init
@@ -17,6 +17,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/../../scripts/xdf_data.sh"
CI_DEBUG=${CI_DEBUG:-0}; [[ "${CI_DEBUG}" =~ (false|0) ]] || set -x
# shellcheck disable=SC2154,SC2086,SC2116
LOCAL_VIRT_NODES=$(echo ${virtual_nodes[*]}) # unquoted to filter space
+[[ ! "${LOCAL_VIRT_NODES}" =~ mas01 ]] || LOCAL_VIRT_NODES='mas01'
NODE_MASK="${LOCAL_VIRT_NODES// /|}"
wait_for 5.0 "salt-call state.sls reclass,linux.network,salt.minion \