fix: mark DigitalOcean anchor IP as scope link
This excludes it out of the `NodeAddress`. Needs extra testing to confirm that it actually still works as anchor IP. Fixes #6760 Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
This commit is contained in:
parent
bb4937f1b3
commit
aa9f66c1c8
@ -182,7 +182,7 @@ func (d *DigitalOcean) ParseMetadata(metadata *MetadataConfig) (*runtime.Platfor
|
||||
ConfigLayer: network.ConfigPlatform,
|
||||
LinkName: "eth0",
|
||||
Address: ifAddr,
|
||||
Scope: nethelpers.ScopeGlobal,
|
||||
Scope: nethelpers.ScopeLink,
|
||||
Flags: nethelpers.AddressFlags(nethelpers.AddressPermanent),
|
||||
Family: nethelpers.FamilyInet4,
|
||||
},
|
||||
|
@ -14,7 +14,7 @@ addresses:
|
||||
- address: 10.18.0.5/16
|
||||
linkName: eth0
|
||||
family: inet4
|
||||
scope: global
|
||||
scope: link
|
||||
flags: permanent
|
||||
layer: platform
|
||||
- address: 10.133.0.2/16
|
||||
|
Loading…
Reference in New Issue
Block a user