Skip to content

Document the install modes and every undocumented installer flag - #127

Open
darksidemilk wants to merge 2 commits into
masterfrom
installer-command-line-options
Open

Document the install modes and every undocumented installer flag#127
darksidemilk wants to merge 2 commits into
masterfrom
installer-command-line-options

Conversation

@darksidemilk

Copy link
Copy Markdown
Member

Part of FOGProject/fogproject#1120 (Phase 3). Depends on #124 for the link target; pairs with FOGProject/fogproject#1199.

Four options existed in the installer and appeared nowhere in these docs at all: --install-mode, --public-web-cert, --rebuild-ipxe-with-my-ca and --https-redirect. Two more, --netboot-proto and --boot-delay, were documented only on other pages. The pasted --help block was old enough to predate all of them.

Regenerated that block from the installer itself rather than editing it by hand — which is also how the ordering bug in usage() got found and fixed upstream of this.

Three things a reader can currently only learn by being bitten

  • -S no longer means what it did. Before 1.6 it decided the web protocol, the redirect and whether iPXE was recompiled. It now means only the redirect, which is what its help text always claimed.
  • --install-mode does not touch the redirect, despite the prompt describing standard as "no redirect". An upgraded -S server keeps it whichever mode is chosen.
  • http-only does not persist. httpProto returns to https on every run, so the flag has to be passed again on each upgrade.

Secure Boot section was pre-PKI

It described a key at /opt/fog/secureboot/MOK.key that is "never regenerated". That layout is gone: there is an enrolled CA in pki/secureboot/ca/ and a rotatable signing leaf in leaf/, which is the whole point of the split and why --secureboot-ca-cert exists. That flag was undocumented here too.

Added

The name-constraint options, including the one an admin supplying an enterprise intermediate needs: iPXE only understands dNSName and iPAddress subtrees, and a CA carrying anything else fails to parse.

Front matter loses in-progress/updating-content and gains a real description; the -S line's "comunication" typo goes with the regenerated block.

Verified

Full Quartz build: no errors, unparsed-wikilink count still 12.

darksidemilk and others added 2 commits August 18, 2026 21:01
Four options existed in the installer and appeared nowhere in these docs at
all: --install-mode, --public-web-cert, --rebuild-ipxe-with-my-ca and
--https-redirect. Two more, --netboot-proto and --boot-delay, were documented
only on other pages. The pasted --help block was old enough to predate all of
them.

Regenerated that block from the installer itself rather than editing it by
hand, which is also how the ordering bug in usage() got found and fixed
upstream of this. Added a section for the four install modes with the tuple
each one writes, and a table for the individual transport options they are
shorthand for.

Three things a reader can currently only learn by being bitten:

  - -S no longer means what it did. Before 1.6 it decided the web protocol,
    the redirect and whether iPXE was recompiled; it now means only the
    redirect, which is what its help text always claimed.
  - --install-mode does not touch the redirect, despite the prompt describing
    standard as 'no redirect'. An upgraded -S server keeps it whichever mode
    is chosen.
  - http-only does not persist. httpProto returns to https on every run, so
    the flag has to be passed again on each upgrade.

Also corrected the Secure Boot section, which still described the flat
pre-PKI layout -- a key at /opt/fog/secureboot/MOK.key that is 'never
regenerated'. That layout is gone: there is an enrolled CA in
pki/secureboot/ca/ and a rotatable signing leaf in leaf/, which is the whole
point of the split and is why --secureboot-ca-cert exists. That flag was
undocumented here too.

Added the name-constraint options, including the one an admin supplying an
enterprise intermediate needs to know: iPXE only understands dNSName and
iPAddress subtrees, and a CA carrying anything else fails to parse.

Front matter loses in-progress/updating-content and gains a real description;
the -S line's 'comunication' typo goes with the regenerated block.

Verified with a full Quartz build: no errors, unparsed-wikilink count still
12. The one unresolved target is the sibling branch's new page.

Co-Authored-By: Claude <noreply@anthropic.com>
--rebuild-ipxe-with-my-ca said it adds 10-25 minutes to 'this and every future
install'. The build is stamped against the pinned iPXE version, the embedded CA
and the staged binary, and skipped when all three still match -- so it re-runs
when one of those changes, not on every install.

Rebuilt: no errors, unparsed-wikilink count still 12.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant