Merge pull request #83 from fishilico/start-systemd-resolved

Start systemd-resolved automatically
This commit is contained in:
Nicolas Iooss 2025-10-22 22:06:51 +02:00 committed by GitHub
commit 0cc8902d9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -80,6 +80,7 @@ cat <<-EOF > "${TARGET_DIR}${CONFIG_SCRIPT}"
# https://wiki.archlinux.org/index.php/Network_configuration#Revert_to_traditional_interface_names
/usr/bin/ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
/usr/bin/systemctl enable dhcpcd@eth0.service
/usr/bin/systemctl enable systemd-resolved.service
echo ">>>> ${CONFIG_SCRIPT_SHORT}: Configuring sshd.."
/usr/bin/sed -i 's/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config
/usr/bin/systemctl enable sshd.service