FOG 1.6: Can you install agent in each dual- or multiple-boot operating system or just one OS?
-
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?
-
@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.
-
@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.
-
@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)?