Support for reboot, shutdown, etc
This module is assumes we are using solaris-like shutdown
New in version 2016.3.0.
Halt a running system
CLI Example:
salt '*' system.halt
Change the system runlevel on sysV compatible systems
CLI Example:
Init state
salt '*' system.init 3
Poweroff a running system
CLI Example:
salt '*' system.poweroff
Reboot the system
Optional wait time in seconds before the system will be rebooted.
Optional message to broadcast before rebooting.
CLI Example:
salt '*' system.reboot
salt '*' system.reboot 60 "=== system upgraded ==="
Shutdown a running system
Optional wait time in seconds before the system will be shutdown.
Optional message to broadcast before rebooting.
CLI Example:
salt '*' system.shutdown
salt '*' system.shutdown 60 "=== disk replacement ==="
Generated on October 23, 2024 at 09:02:05 UTC.
You are viewing docs for the previous stable release, 3006.9. Switch to docs for the latest stable release, 3007.1, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy