Categories

  • 13k Topics
    115k Posts
    V

    FOG version: 1.5.10.1903

    Hello,

    I’m trying to hide the menu item “Perform Full Host Registration and Inventory” (fog.reginput) in the iPXE menu and make it available only after a user successfully logs in.

    My configuration is:

    PXE MENU HIDDEN = disabled
    NO MENU = disabled
    iPXE General Configuration → Advanced Menu Login = enabled

    Menu settings:

    Perform Full Host Registration and Inventory (fog.reginput)
    Menu Show With: Advanced Login Required

    Advanced Menu (fog.advancedlogin)
    Menu Show With: Show All

    Test scenario:

    I am booting a test machine that is not registered as a host in FOG.
    During PXE boot, the normal FOG menu is displayed.
    The Advanced Menu option is visible.
    I select Advanced Menu and successfully log in with my username and password.
    After authentication, I return to the FOG menu, but the “Perform Full Host Registration and Inventory” option is still not visible.
    I also tested the same behavior with Memtest configured as Advanced Login Required, with the same result.

    My expectation is that after a successful Advanced Menu login, all menu items configured with “Advanced Login Required” should become visible.

    Am I misunderstanding how this feature is supposed to work, or could there be another setting that I’m missing?

    Thank you for any help.

  • Get the latest news on what's happening.
    184 Topics
    825 Posts
    A

    @Tom-Elliott I really appreciate that you are putting effort into providing more frequent releases, which makes it easier for everyone to deploy new security fixes in time. Keep up the good work!

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

    @vanfifty1 Sweet so it is functional and seems to be much more verbose about the actions it’s performing, thank you!

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

    @Valer Thanks for the report and the writeup, that’s a good catch. You’re right about the cause. Debian 13 dropped the sysv-rc-conf package since it’s fully on systemd now, so the installer chokes trying to apt-get it. We never actually use that tool on a systemd system anyway, it only ever got called on the old non-systemd paths, so it was just dead weight on Trixie.

    I pushed a fix to working-1.6. It leaves the package off the list on Debian 13 and up, and it also strips it out of a cached .fogsettings so an in-place upgrade doesn’t drag it back in. Older Debian keeps installing it like before so nothing changes there.

    If you want to get moving before you pull the update, you can either grab the latest working-1.6 and rerun the installer, or just open /opt/fog/.fogsettings and delete sysv-rc-conf from the packages line, then run the installer again. Either one gets you past it.

    Let me know if you hit anything else on Trixie.

69

Online

12.7k

Users

17.6k

Topics

156.8k

Posts