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

    FOG 1.6: Can you install agent in each dual- or multiple-boot operating system or just one OS?

    Scheduled Pinned Locked Moved General
    5 Posts 2 Posters 108 Views
    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.
    • DBailey635D
      DBailey635
      last edited by

      The FOG client used to only be installable in one OS on a dual-boot system. Has this changed with the newer agent?

      Can you install the agent in both a single host’s Linux and Windows partition and have both usable to deploy config changes?

      Tom ElliottT 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @DBailey635
        last edited by

        @DBailey635 Not in the current release. The agent identifies the machine by its firmware ID and MACs, so both OSes map to the same FOG host. Today a host holds one agent key. When the second OS enrolls, it waits for approval as a re-bind, and approving it retires the first OS’s key. So for now the agent works in one OS per host, the same as the old client.

        We are adding support for this. Each OS on a host gets its own agent key. Snapins can target an OS, so a Windows snapin waits until Windows boots. The product key and the domain join go only to the Windows install. If you deploy the image with FOG, both OSes enroll on their own within the deploy window. You can follow the work here: https://github.com/FOGProject/fog-agent/issues/53

        I’ll update this thread when it is in a release.

        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.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @DBailey635
          last edited by

          @DBailey635 This is now available on the Patches update channel (1.6.0.226 or later). No new agent version is needed; any current agent works.

          To use it:

          • Install the agent in each OS as usual.
          • The second OS appears under pending agents as “New OS on a host that already has an agent”. Approve it. If FOG deployed the image within the deploy window, both OSes enroll on their own.
          • For an OS-specific snapin, set “Run on” in the snapin’s settings. A Windows snapin then waits until Windows boots.
          • If the host is set to join a domain, the Windows install does the join. The Linux side is left alone, so the two do not fight over one computer account. The product key also goes only to Windows.

          One limit: two installs of the same OS on one disk share one agent key.

          If you try it, let me know how it goes.

          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.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          DBailey635D 1 Reply Last reply Reply Quote 1
          • DBailey635D
            DBailey635 @Tom Elliott
            last edited by

            @Tom-Elliott Thanks. This is going to be a great feature update for us, however I’m somewhat cautious about adding a feature patch to a production system until it’s folded into the release channel. Do you have a target release candidate version for this?

            I’m assuming that both Windows and Linux will share the same machine hostname, but was wondering how check-ins will be reported back on the hosts list? Will we be able to determine the last time each OS checked in, or just the last check-in by the whole machine?

            Additionally, although not an issue for us (we only bind Windows for now), could he domain joining restriction be bypassed by allowing separate hostnames for each OS? Maybe by automatically appending a suffix to the hostname, like: host01-win and host01-lnx?

            Also, how long is the deploy window? Will we have to go around a room to boot into both OS after imaging to ensure each agent registers (which could take a long time depending upon machine count)? Can we extend the window and let student users do it naturally as their course reaches the point were they swap OS (which might be a few months after install)?

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @DBailey635
              last edited by

              @DBailey635 Good questions.

              Release: waiting for stable is sensible. The stable channel gets a release on the 11th of each month, and this feature is in the next one, on December 11.

              Check-ins: both OSes share one host and one hostname. The host list shows the most recent check-in from either OS. The host’s edit page lists each OS on its own line, with its agent version, last check-in, and certificate expiry. So you can see when Windows and Linux each last checked in.

              Separate hostnames for the domain join: not today. FOG applies the host’s one name to every OS, and the domain join follows the Windows install. A per-OS suffix (host01-win / host01-lnx) is a reasonable feature request. It needs a second computer account per machine, so it is not a small change.

              Deploy window: the default is 24 hours after FOG completes a deploy to the host. You can change it in FOG Configuration > FOG Settings > General Settings > FOG_AGENT_ENROLL_DEPLOY_WINDOW (in hours). A longer window does work, but for that whole time any machine that presents that host’s identity enrolls with no approval. For an OS that first boots months later, two better routes:

              • Approve it when it shows up. The second OS waits in pending agents until you approve it, and it keeps retrying, so a student’s first boot just queues it.
              • Put an agent enrollment token in the Linux image’s agent install (--token). Give the token enough uses and an expiry past the point where the course switches OS. The agent then enrolls on its first boot, whenever that is, without an approval click.

              No need to walk the room after imaging.

              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.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

              57

              Online

              12.8k

              Users

              17.7k

              Topics

              157.5k

              Posts
              Copyright © 2012-2026 FOG Project