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

network/default: exclude wireguard type #77

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

tormath1
Copy link
Contributor

@tormath1 tormath1 commented Jul 27, 2022

Signed-off-by: Mathieu Tortuyaux mtortuyaux@microsoft.com

@tormath1 tormath1 self-assigned this Jul 27, 2022
tormath1 added a commit to flatcar-archive/coreos-overlay that referenced this pull request Jul 27, 2022
this pulls: flatcar/init#77

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@dongsupark
Copy link
Member

I am not completely sure if this change works well for all cases.
So I would say, let's try to run CI tests for all cloud providers.

@dongsupark
Copy link
Member

Also when looking into the previous PR #30, should we probably fix other places like yy-pxe.network and yy-vmware.network?

tormath1 added a commit to flatcar-archive/coreos-overlay that referenced this pull request Jul 27, 2022
this pulls: flatcar/init#77

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
tormath1 added a commit to flatcar-archive/coreos-overlay that referenced this pull request Jul 29, 2022
this pulls: flatcar/init#77

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@tormath1 tormath1 changed the title networkd/default: keep static configuration if provided network/default: exclude wireguard type Jul 29, 2022
@tormath1
Copy link
Contributor Author

locally tested with:

---
variant: flatcar
version: 1.0.0
storage:
  files:
    - path: /etc/systemd/network/zz-default.network.d/wg.conf
      contents:
        inline: |
          [Match]
          Type=!wireguard
    - path: /etc/wireguard/kv0.conf
      contents:
        inline: |
          [Interface]
          Address = ...
          PrivateKey = ...

          [Peer]
          PublicKey = ...
          AllowedIPs = ...
          Endpoint = ...
          PersistentKeepalive = 15
systemd:
  units:
    - name: wg-quick@kv0.service
      enabled: true

tormath1 added a commit to flatcar-archive/coreos-overlay that referenced this pull request Jul 29, 2022
this pulls: flatcar/init#77

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@tormath1 tormath1 marked this pull request as ready for review August 1, 2022 07:03
@tormath1 tormath1 merged commit 8bd753f into flatcar-master Aug 1, 2022
@tormath1 tormath1 deleted the tormath1/systemd branch August 1, 2022 08:38
tormath1 added a commit to flatcar-archive/coreos-overlay that referenced this pull request Aug 1, 2022
this pulls: flatcar/init#77

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
tormath1 added a commit to flatcar-archive/coreos-overlay that referenced this pull request Aug 1, 2022
this pulls: flatcar/init#77

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
tormath1 added a commit to flatcar-archive/coreos-overlay that referenced this pull request Aug 1, 2022
this pulls: flatcar/init#77

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@tormath1
Copy link
Contributor Author

tormath1 commented Aug 1, 2022

cherr-picked to:

  • flatcar-3227-backport

tormath1 added a commit to flatcar-archive/coreos-overlay that referenced this pull request Aug 1, 2022
this pulls: flatcar/init#77

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants