aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config/states/virtual_init
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/config/states/virtual_init')
-rwxr-xr-xmcp/config/states/virtual_init2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/config/states/virtual_init b/mcp/config/states/virtual_init
index e8837571b..38a141a3e 100755
--- a/mcp/config/states/virtual_init
+++ b/mcp/config/states/virtual_init
@@ -33,7 +33,7 @@ wait_for 3.0 "salt -C 'E@^(${NODE_MASK}).*' saltutil.sync_all"
wait_for 3.0 "salt -C 'E@^(${NODE_MASK}).*' state.sls linux"
-salt -C "E@^(${NODE_MASK}).*" system.reboot
+salt -C "E@^(${NODE_MASK}).*" cmd.run 'reboot'
wait_for 90.0 "salt -C 'E@^(${NODE_MASK}).*' test.ping"
wait_for 3.0 "salt -C 'E@^(${NODE_MASK}).*' pkg.upgrade refresh=False dist_upgrade=True"
wait_for 3.0 "salt -C 'E@^(${NODE_MASK}).*' state.apply salt,ntp"