Commit 02cfe5a
committed
kubevirt: proxmoxve: Use ip=any rather than ip=dhcp,dhcp6 for dual stack
systemd-network-generator does not support multiple autoconf values, and
fixing this appears difficult. Even then, Dracut does not treat
`dhcp,dhcp6` in quite the same way that systemd and NetworkManager do.
It only tries IPv6 if IPv4 fails.
As of Dracut 112, `any` is treated as IPv4-only, despite the name.
However, I have submitted dracut-ng/dracut#2628
to change this behaviour so that it is dual stack in the same manner as
systemd and NetworkManager.
This would break Afterburn consumers relying on Dracut's network-legacy
in the meantime. However, FCOS has already migrated to NetworkManager,
and Flatcar is now migrating to systemd-network-manager. I'm not aware
of any other consumers.
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>1 parent 94cf8e8 commit 02cfe5a
4 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
0 commit comments