mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: move resolv.conf symlink to systemd to post_debootstrap_tweaks so customize phase has working DNS
This commit is contained in:
@@ -579,10 +579,6 @@ function install_distribution_agnostic() {
|
||||
fi
|
||||
|
||||
elif [ -d "${SDCARD}"/etc/systemd/network ]; then
|
||||
# configure networkd
|
||||
rm "${SDCARD}"/etc/resolv.conf
|
||||
ln -s /run/systemd/resolve/resolv.conf "${SDCARD}"/etc/resolv.conf
|
||||
|
||||
# enable services
|
||||
chroot_sdcard systemctl enable systemd-networkd.service systemd-resolved.service
|
||||
|
||||
|
||||
Reference in New Issue
Block a user