Add IPv6 support to the initfence#77
Open
JedMeister wants to merge 9 commits intoturnkeylinux:masterfrom
Open
Conversation
Member
|
Whoops! That explains why those 2 PRs looked so similar. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is init-fence related - mostly directly:
simplehttpd.pyso it's "dual stack" (i.e. IPv4 & IPv6).turnkey-init-fenceso that it sets/unsets IPv6 firewall rules too.systemctl reload turnkey-init-fence- reloads the webserver without touching the firewall rules - used by29tagidafter updatingindex.html.runso that it will start running inithooks straight away but then wait once it gets the first30...inithook (all early hooks are non-interactive). This allows the init-fence page to be updated early, but still ensure that boot messages don't spam over the interactive hooks &/or confconsole.30turnkey-init-fence& '97turnkey-init-fence-disable` to account for when headless system is launched without preseeding. FYI when that happens the inithooks will run twice but we don't want the fence to come down until they interactively run the first boot hooks (the second time it runs).Also needs turnkeylinux/buildtasks#96
This hasn't yet been extensively tested, but the package has been built and pushed to the
trixie-testingrepo.