From 8e61b00ff956520920d5520df04e4b87f3d2b8eb Mon Sep 17 00:00:00 2001 From: Xavier Petit <32063953+xpetit@users.noreply.github.com> Date: Sun, 25 Aug 2019 22:04:49 +0100 Subject: [PATCH] Fix --- scripts/ubuntu_tweaks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ubuntu_tweaks.sh b/scripts/ubuntu_tweaks.sh index 688a495ed..aa5223c74 100755 --- a/scripts/ubuntu_tweaks.sh +++ b/scripts/ubuntu_tweaks.sh @@ -42,7 +42,7 @@ sed -i '/swapfile/d' /etc/fstab # Network configuration interface=$(ip route get 1.1.1.1 | head -1 | cut -d' ' -f5) -cat < /etc/network/interfaces +cat <> /etc/network/interfaces allow-hotplug $interface iface $interface inet dhcp EOF