Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Bookworm DHCP search domain issue #96

Merged
merged 4 commits into from
Mar 20, 2024

Conversation

jsf9k
Copy link
Member

@jsf9k jsf9k commented Jan 12, 2024

🗣 Description

This pull request adds a fix for the Debian Bookworm + cloud-init + netplan + DHCP issue described in cisagov/skeleton-packer#300.

Important

This pull request cannot be merged until cisagov/skeleton-packer#242 is merged and trickles down to cisagov/openvpn-packer.

💭 Motivation and context

See cisagov/skeleton-packer#300.

🧪 Testing

I built an OpenVPN staging AMI with the changes from cisagov/openvpn-packer#101 and deployed it (using the changes in this PR) to our staging COOL environment. I was able to verify that it functions as expected.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All future TODOs are captured in issues, which are referenced in code comments.
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All new and existing tests pass.

@jsf9k jsf9k added bug This issue or pull request addresses broken functionality terraform Pull requests that update Terraform code labels Jan 12, 2024
@jsf9k jsf9k self-assigned this Jan 12, 2024
@jsf9k jsf9k linked an issue Jan 12, 2024 that may be closed by this pull request
jsf9k added a commit that referenced this pull request Jan 13, 2024
The Netplan config is created by cloud-init, but it needs to be
slightly modified and reapplied.  This script takes care of the
modification.

See these issues for more details:
- cisagov/skeleton-packer#300
- canonical/cloud-init#4764
The Netplan config is created by cloud-init, but it needs to be
slightly modified and reapplied.  There is a Python script that fixes
the DHCP4 options in the netplan configuration already generated by
cloud-init.  This cloud-init fragment simply reapplies the Netplan
configuration after the modification.

See these issues for more details:
- cisagov/skeleton-packer#300
- canonical/cloud-init#4764
The Netplan config is created by cloud-init, but it needs to be
slightly modified and reapplied.

See these issues for more details:
- cisagov/skeleton-packer#300
- canonical/cloud-init#4764
@jsf9k jsf9k force-pushed the bugfix/fix-bookworm-dhcp-searh-domain-issue branch from 6055fa6 to b942e7c Compare February 16, 2024 14:09
@jsf9k jsf9k marked this pull request as ready for review February 16, 2024 18:03
@jsf9k jsf9k requested a review from a team February 16, 2024 18:03
@dav3r
Copy link
Member

dav3r commented Feb 16, 2024

This pull request cannot be merged until cisagov/skeleton-packer#242 is merged and trickles down to cisagov/openvpn-packer.

So should we add the "blocked" label to this PR?

Copy link
Member

@dav3r dav3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 👍

@jsf9k jsf9k added the blocked This issue or pull request is awaiting the outcome of another issue or pull request label Feb 16, 2024
jsf9k added a commit to cisagov/openvpn-packer that referenced this pull request Mar 8, 2024
@jsf9k jsf9k removed the blocked This issue or pull request is awaiting the outcome of another issue or pull request label Mar 19, 2024
@jsf9k jsf9k merged commit b7749f0 into develop Mar 20, 2024
5 checks passed
@jsf9k jsf9k deleted the bugfix/fix-bookworm-dhcp-searh-domain-issue branch March 20, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue or pull request addresses broken functionality terraform Pull requests that update Terraform code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DNS woes with Debian Bookworm
3 participants