mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-24 07:51:03 +02:00
app-admin/flannel-wrapper: Create a 50-flannel.link
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 coreos/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.
This commit is contained in:
parent
56496beb1f
commit
3b42b061f0
5
sdk_container/src/third_party/coreos-overlay/app-admin/flannel-wrapper/files/50-flannel.link
vendored
Normal file
5
sdk_container/src/third_party/coreos-overlay/app-admin/flannel-wrapper/files/50-flannel.link
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[Match]
|
||||||
|
OriginalName=flannel*
|
||||||
|
|
||||||
|
[Link]
|
||||||
|
MACAddressPolicy=none
|
@ -3,4 +3,3 @@ Name=flannel*
|
|||||||
|
|
||||||
[Link]
|
[Link]
|
||||||
Unmanaged=yes
|
Unmanaged=yes
|
||||||
MACAddressPolicy=none
|
|
||||||
|
@ -41,4 +41,5 @@ src_install() {
|
|||||||
|
|
||||||
insinto /usr/lib/systemd/network
|
insinto /usr/lib/systemd/network
|
||||||
doins "${FILESDIR}"/50-flannel.network
|
doins "${FILESDIR}"/50-flannel.network
|
||||||
|
doins "${FILESDIR}"/50-flannel.link
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user