How do I reboot Linux with a Snapin?
-
Hi, I’m fairly new to Fog. I want to make a Snapin that reboots a Raspberry Pi that is running Raspbian. I figured I would write a bash script that just reboots the Pi, but I need some help understanding how to actually upload this script to the fog server and how to run it and everything. I have the Snapin management window pulled up and I’m in the “Create a New Snapin” tab with absolutely no idea how to work this. Could anybody help?
-
@keenanv you can use PowerManagement for on-demand reboots. It works on every OS. See the https://news.fogproject.org/fog-client-v0-11-0-released/ news post in the “PowerManagement Module” section.
-
Thanks for responding so quickly. The problem with this is I don’t see a PowerManagement section anywhere on my Fog web interface. Does it have to be installed? If so, where would I get that?
-
@keenanv, make sure your FOG server is up-to-date, then select the Host/Group you want to reboot. PowerManagent will be on the sidebar
-
@Joe-Schmitt Thanks so much! That worked like a charm