diff --git a/scripts/main.sh b/scripts/main.sh index f5aed50..cb5f01a 100755 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -376,7 +376,7 @@ main_install_gentoo_in_chroot() { # Enable systemd networking and dhcp enable_service systemd-networkd enable_service systemd-resolved - echo -n "[Match]\nName=en*\n\n[Network]\nDHCP=yes" > /etc/systemd/network/20-wired-dhcp.network \ + echo -en "[Match]\nName=en*\n\n[Network]\nDHCP=yes" > /etc/systemd/network/20-wired-dhcp.network \ || die "Could not write dhcp network config to '/etc/systemd/network/20-wired-dhcp.network'" chown root:systemd-network /etc/systemd/network/20-wired-dhcp.network \ || die "Could not change owner of '/etc/systemd/network/20-wired-dhcp.network'"