Commit da59e63
committed
Update /mnt/data/etc/network/interfaces on each boot
Otherwise it always reverts back to the first-boot settings
once 04-persistent-data-volume.sh is done, and any further
restarts of the networking service will revert to the old
interfaces.
Similarly /etc/resolv.conf is generated by udhcpc (via ifup),
but reverts back to the first-boot version after the bind-mount
of the persistent data volume.
Restarting the networking service was just an expensive and indirect
way to update /etc/resolv.conf by re-running udhcpc again.
Signed-off-by: Jan Dubois <jan.dubois@suse.com>1 parent bfd7471 commit da59e63
File tree
2 files changed
+4
-8
lines changed- pkg/cidata/cidata.TEMPLATE.d/boot
2 files changed
+4
-8
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
This file was deleted.
0 commit comments