Categories

  • 13k Topics
    115k Posts
    Tom ElliottT

    @lperoma Both changes are out now, so you can test them.

    Agent 0.1.30 waits for the rename/join restart before it runs software, and the snapins wait with it. Agents update themselves to it. After the restart, the first check-in runs the software under the new name. You can drop the name check from your package script. A finished deploy now clears the host’s software status. That is on dev-branch, so update your server to dev-branch to get it.

    One thing to know: if a user stays logged in on a renamed PC, the restart waits for them to log off, so software waits too. Turn on “Enforce Hostname | AD Join Reboots” on the host to restart after the grace period instead. Details: https://docs.fogproject.org/en/latest/management/web/software/#software-waits-for-a-rename-or-a-domain-join

    The log lines for the stale status are still useful if you can grab them.

  • Get the latest news on what's happening.
    208 Topics
    849 Posts
    Tom ElliottT

    FOG 1.6.1 is released. It is on the stable and master branches, and the tag is 1.6.1.

    Upgrade from your FOG source checkout:

    sudo bin/updatefog.sh --channel stable

    Or run git pull on stable, then bin/installfog.sh. The schema moves from 446 to 473, so the web UI asks for the schema update after the upgrade. Installs from master use FOS 1.6.1.

    Highlights

    IPv6: IPv6 listeners, opt-in DHCPv6, boot to the IPv6 address, and multicast over IPv6. FOS 1.6.1 adds IPv6 and udpcast over IPv6. Software management through the fog-agent, per host and per group, with Flatpak, Snap, and winget. Storage nodes: deploys balance across a group, and a full node overflows at PXE boot. AD rejoin and OU placement for deployed images. Roles can limit the networks their members use the web UI and API from. The Imaging Report records deploys and multicast joins to unregistered hosts. “Deploy image now” after Full Registration deploys with no reboot. MySQL 8.0.13+ installs and upgrades.

    Security: 1.6.1 is the first stable release with the fix for GHSA-q38j-qx5x-w25v (a Legacy Restricted user could read the AD join password and product keys). If you moved to the Patches channel to get that fix early, you can switch back with --channel stable.

    Offline installs: the installer now downloads udpcast from FOGProject/udpcast and checks its sha256. Put udpcast-v20250223-fog.1.tar.gz and its .sha256 in packages/ before you run the installer.

    Thank you to ASPePeX on GitHub for the OIDC trailing-slash fix (fog-plugins #49), and to everyone who tested and reported issues.

    Full release notes: https://github.com/FOGProject/fogproject/releases/tag/1.6.1

  • View tutorials or talk about FOG in general.
    2k Topics
    19k Posts
    Tom ElliottT

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

  • Report bugs, request features, or get the latest progress.
    2k Topics
    21k Posts
    L

    Hi everyone,

    we use FOG to fully automate the installation of our PCs at the university, including several snapins for larger software packages. Some of these installers require a reboot in the middle of the installation and trigger that reboot themselves.

    Behavior up to FOG 1.5.10:
    When an installer rebooted the machine during the snapin run, the snapin task stayed open. After the reboot, the FOG client checked in again, received the same snapin task and the installation continued. This worked reliably for us and was an important part of our deployment workflow.

    Behavior since FOG 1.6:
    After the installer-initiated reboot, the snapin is no longer delivered again. The installation is left incomplete and has to be finished manually.

    I understand that the recommended approach is to suppress the installer’s reboot and use the “Reboot after install” option instead, and that the old behavior was probably more of a side effect than an intended feature. However, for complex installers with multiple stages this means splitting them into several snapins or writing wrapper scripts for each package, which is a lot of extra work and maintenance.

    Feature request:
    It would be very helpful to have a per-snapin option like “Resume after reboot” (or “Re-run if interrupted by a reboot”). If enabled, a snapin task that was started but never reported completion before the client rebooted would be delivered again on the next check-in. To prevent endless reboot loops, a configurable maximum number of retries (e.g. 3) would make sense, after which the task is marked as failed.

    Optionally, the client could also treat the common “reboot required” exit codes (3010 / 1641) as “success, reboot needed” and handle the reboot itself.

    Environment:
    FOG server version: 1.6.0.158
    FOG agent version: 0.1.2X
    Server OS: Ubuntu 24.04 LTS
    Client OS: Windows 11
    Example snapins affected: Siemens TIA Portal

    Finally, I’d like to say a big thank you to the whole FOG team. FOG has been a core part of our deployment workflow for years, and it’s impressive how much you’ve built and maintained as an open-source project, along with the support you provide here in the forum. Your work saves us countless hours every week, and we really appreciate it!

44

Online

12.8k

Users

17.7k

Topics

157.6k

Posts