Commit be35341
authored
fix(metadata): netplan name-based fallback for cloudimg clone DHCP recovery (#34)
Append a "zfallback" netplan ethernet block (match by name=e*, dhcp4:true)
after the per-NIC MAC-keyed ones. The lexicographic 'z' prefix ensures
systemd-networkd processes the MAC-matched 10-netplan-id*.network files
first; the name-matched 10-netplan-zfallback.network only kicks in when
no idN matches — i.e. on a clone whose new MAC isn't in the snapshot's
netplan. DHCP-network cloudimg clones now self-heal at next boot;
static-IP cloudimg clones remain unchanged (no DHCP server to fall back
to is a network-mode limitation, not a software gap).1 parent 6e3e318 commit be35341
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
114 | 119 | | |
115 | 120 | | |
116 | 121 | | |
| |||
0 commit comments