Skip to content

Commit

Permalink
Fix Flatcar network issues when IPAM is not used (#1559)
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
  • Loading branch information
xmudrii authored Feb 13, 2023
1 parent e8ab3f5 commit f0fa322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/userdata/flatcar/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const userDataIgnitionTemplate = `passwd:
{{end}}
{{- end }}
{{- if .ProviderSpec.Network }}
{{- if .ProviderSpec.Network.IsStaticIPConfig }}
networkd:
units:
- name: static-nic.network
Expand Down Expand Up @@ -544,7 +544,7 @@ users:
coreos:
units:
{{- if .ProviderSpec.Network }}
{{- if .ProviderSpec.Network.IsStaticIPConfig }}
- name: static-nic.network
content: |
[Match]
Expand Down

0 comments on commit f0fa322

Please sign in to comment.