diff --git a/scripts/ubuntu_tweaks.sh b/scripts/ubuntu_tweaks.sh index 688a495e..aa5223c7 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