From 2aeb5ed3b2df01cd154f541e49168c564f7298ff Mon Sep 17 00:00:00 2001 From: David Beniamine <david.beniamine@tetras-libre.fr> Date: Tue, 6 Mar 2018 12:26:28 +0100 Subject: [PATCH] Fixup again --- postInstall.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/postInstall.sh b/postInstall.sh index d0e9016..41f8d67 100755 --- a/postInstall.sh +++ b/postInstall.sh @@ -31,10 +31,10 @@ do done # Fix ethernet issues -sudo echo "# The primary eth0 interface" >> /etc/network/interfaces -sudo echo "auto eth0" >> /etc/network/interfaces -sudo echo "allow-hotplug eth0" >> /etc/network/interfaces -sudo echo "iface eth0 inet dhcp" >> /etc/network/interfaces +echo "# The primary eth0 interface" | sudo tee --append /etc/network/interfaces +echo "auto eth0" | sudo tee --append /etc/network/interfaces +echo "allow-hotplug eth0" | sudo tee --append /etc/network/interfaces +echo "iface eth0 inet dhcp" | sudo tee --append /etc/network/interfaces sudo sed -i 's/^\(GRUB_CMDLINE_LINUX_DEFAULT="quiet\)"/\1 pcie_aspm=off"/' /etc/default/grub sudo update-grub -- GitLab