• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How do I reboot Linux with a Snapin?

    Scheduled Pinned Locked Moved
    Linux Problems
    2
    5
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      keenanv
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • J
        Joe Schmitt Senior Developer
        last edited by Joe Schmitt

        @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.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        1 Reply Last reply Reply Quote 0
        • K
          keenanv
          last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • J
            Joe Schmitt Senior Developer
            last edited by

            @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

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            K 1 Reply Last reply Reply Quote 0
            • K
              keenanv @Joe Schmitt
              last edited by

              @Joe-Schmitt Thanks so much! That worked like a charm

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              136

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project