Fix resolv.conf being wiped by dhcpcd on first reboot.
Wait for network-online, drop DHCP while still dhcp so dhcpcd exits before writing static resolv.conf. Do not touch dhcpcd.conf.
This commit is contained in:
1 parent
83a4876f49
commit
798af69292
2 files changed
+10
-4
No files matched your search
@@ -1,5 +1,7 @@
|
||||
[Unit]
|
||||
Description=Postinstall Init
|
||||
Wants=network-online.target
|
||||
After=network-online.target networking.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env bash /debian-postinstall-init.sh
|
||||
|
||||
Reference in new issue
Block a user