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

    Shutdown computers after multicast session (No registration/groups)

    Scheduled Pinned Locked Moved
    General
    2
    2
    680
    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.
    • R
      Ravigon
      last edited by

      My environment is complex. I plan on using a combination of groups for some computers and also not grouping other computers at all. For the computers that won’t be grouped, I plan on using the multicast task under Image Management for cloning. After the multicast session has completed, it reboots the computer. I have searched the forums and read through a few different wiki articles and couldn’t find what I was looking for at first. What I wanted to accomplish was shutting the computer down instead of rebooting it after the multicast session was done. I found this post that was asking for something similar where @tom-elliott replied. I just wanted to say that this solution worked for me. From my understanding this is a global setting so it will shutdown after any task has completed and I am fine with this. The purpose of this post is dual fold in that I wanted to say thank you, and also to link this solution to the multicast preference I wanted. This way if anyone else searches for multicast shutdown upon completion, hopefully they will find this. (See below for setting to add into the WebGUI)

      FOG: 1.4.4
      Ubuntu: 16.04

      @tom-elliott said in New PXE menu entry: Deploy Image & Shutdown:

      @george1421 It definitely is the easiest way, but if it’s specific to “quick imaging” goto:
      FOG Configuration Page->iPXE Menu Configuration->fog.deployimage
      In Boot Options: add: shutdown=1

      If you want it for ALL tasks (will not impact debug of course):
      FOG Configuration Page->FOG Settings->General Settings->FOG_KERNEL_ARGS and add: shutdown=1

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by george1421

        You can set kernel parameters on a global basis (as you found). You can also set kernel parameters on a per-host basis too (I assume it also applies to FOG groups). So only host will know about shutting down after imaging (or any time bzImage is transferred to the target computer).

        BUT I think your quest has merit as a feature request. (in my non-programmer opinion) There should be an option on the setup page for multicast to shutdown after imaging, just like there is for a unicast image. I can see value in having that part of the core function of FOG.

        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!

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

        127

        Online

        12.1k

        Users

        17.3k

        Topics

        155.3k

        Posts
        Copyright © 2012-2024 FOG Project