Support for reboot, shutdown, etc
salt.modules.system.
halt
()¶Halt a running system
CLI Example:
salt '*' system.halt
salt.modules.system.
init
(runlevel)¶Change the system runlevel on sysV compatible systems
CLI Example:
salt '*' system.init 3
salt.modules.system.
poweroff
()¶Poweroff a running system
CLI Example:
salt '*' system.poweroff
salt.modules.system.
reboot
(at_time=None)¶Reboot the system
CLI Example:
salt '*' system.reboot
salt.modules.system.
shutdown
(at_time=None)¶Shutdown a running system
CLI Example:
salt '*' system.shutdown 5
Generated on July 18, 2017 at 06:45:48 MDT.
You are viewing docs for the previous stable release, 2016.3.6. Switch to docs for the latest stable release, 2016.11.6, or to a recent doc build from the develop branch.
© 2017 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy