Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
app-admin/flannel-wrapper: Create a 50-flannel.link
Browse files Browse the repository at this point in the history
When setting up flannel interfaces, use MACAddressPolicy=none, so that
the MAC Address used is the initial one set by the kernel and not the
one assigned by systemd.

See flannel-io/flannel#1155 for more information.

In #279 we tried adding the MACAddressPolicy=none setting to the
existing 50-flannel.network file. But the change should have been in a
.link file, not a .network file.
  • Loading branch information
Marga Manterola committed Apr 9, 2020
1 parent 837c081 commit 51d8433
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app-admin/flannel-wrapper/files/50-flannel.link
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Match]
OriginalName=flannel*

[Link]
MACAddressPolicy=none
1 change: 0 additions & 1 deletion app-admin/flannel-wrapper/files/50-flannel.network
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ Name=flannel*

[Link]
Unmanaged=yes
MACAddressPolicy=none
1 change: 1 addition & 0 deletions app-admin/flannel-wrapper/flannel-wrapper-0.11.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ src_install() {

insinto /usr/lib/systemd/network
doins "${FILESDIR}"/50-flannel.network
doins "${FILESDIR}"/50-flannel.link
}

0 comments on commit 51d8433

Please sign in to comment.