armbian-next: move resolv.conf symlink to systemd to post_debootstrap_tweaks so customize phase has working DNS

This commit is contained in:
Ricardo Pardini
2022-09-25 19:40:14 +02:00
parent 3e0729b5da
commit 4cebf28be4
2 changed files with 8 additions and 4 deletions

View File

@@ -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