system

Reboot, shutdown, poweroff, and halt support for Alpine Linux.

saltext.alpine.modules.system.__virtual__()[source]

Confirm this module is running on Alpine Linux

saltext.alpine.modules.system.reboot(at_time=None)[source]

Reboot the system using the BusyBox reboot applet.

at_time

Delay in minutes before rebooting. Converted to a BusyBox -d delay in seconds; the minion blocks for the delay.

CLI Example:

salt '*' system.reboot
salt '*' system.reboot 5
saltext.alpine.modules.system.poweroff()[source]

Power off the system using the BusyBox poweroff applet.

CLI Example:

salt '*' system.poweroff
saltext.alpine.modules.system.halt()[source]

Halt the system using the BusyBox halt applet.

CLI Example:

salt '*' system.halt
saltext.alpine.modules.system.shutdown(at_time=None)[source]

Shut the system down (power off) using the BusyBox poweroff applet.

at_time

Delay in minutes before shutting down. Converted to a BusyBox -d delay in seconds; the minion blocks for the delay.

CLI Example:

salt '*' system.shutdown
salt '*' system.shutdown 5