Author Archive

Salt command to reboot and poweroff server

We can shut down and poweroff the servers remotly without login into the server from salt master, the following commands allow to shut down and poweroff the servers.

salt ‘*’ system.poweroff


salt ‘*’ system.shutdown

Replace ‘*’ with actual hostname of the server which you want to shut down or poweroff

Category: salt  Comments off