diff options
Diffstat (limited to 'mcp/config/states')
-rwxr-xr-x | mcp/config/states/maas | 2 | ||||
-rwxr-xr-x | mcp/config/states/virtual_control_plane | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mcp/config/states/maas b/mcp/config/states/maas index f321b7160..2764067da 100755 --- a/mcp/config/states/maas +++ b/mcp/config/states/maas @@ -78,7 +78,7 @@ if [ "${ERASE_ENV}" -gt 1 ]; then fi # MaaS rack/region controller, node commissioning -salt -C 'mas01*' state.apply linux,salt,openssh,ntp +wait_for 10.0 "salt -C 'mas01*' state.apply linux,salt,openssh,ntp" salt -C 'mas01*' state.apply maas.pxe_nat salt -C 'mas01*' state.apply maas.cluster diff --git a/mcp/config/states/virtual_control_plane b/mcp/config/states/virtual_control_plane index ef6ce59c3..5b54bb8a4 100755 --- a/mcp/config/states/virtual_control_plane +++ b/mcp/config/states/virtual_control_plane @@ -34,7 +34,7 @@ fi wait_for 5.0 "salt -C 'kvm*' state.sls libvirt" salt -C 'kvm* or cmp*' state.apply salt -wait_for 10.0 "salt -C 'kvm*' state.sls salt.control" +wait_for 10.0 "salt -C 'kvm*' state.sls salt.control,linux.system.kernel" vcp_nodes=$(salt --out yaml 'kvm01*' pillar.get salt:control:cluster:internal:node | \ awk '/\s+\w+[[:digit:]]+:$/ {gsub(/:$/, "*"); printf "%s ", $1}') |