From adc09575fb86a3ccd2a0224c7b1f03db0db477d3 Mon Sep 17 00:00:00 2001 From: David Beniamine <david.beniamine@tetras-libre.fr> Date: Tue, 6 Mar 2018 12:21:24 +0100 Subject: [PATCH] Fixup --- postInstall.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/postInstall.sh b/postInstall.sh index 625ae76..d0e9016 100755 --- a/postInstall.sh +++ b/postInstall.sh @@ -29,8 +29,21 @@ for f in `find dist/ -type f` do sudo sed -i.orig "s/DSIT/$SRV_NAME/g" ${f/dist/} 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 +sudo sed -i 's/^\(GRUB_CMDLINE_LINUX_DEFAULT="quiet\)"/\1 pcie_aspm=off"/' /etc/default/grub +sudo update-grub + +# Add proxy for administrateur for proto in http https ftp do echo "export ${proto}_proxy=slis:3128" >> ~/.profile + export ${proto}_proxy=slis:3128 done +sudo apt-get -y purge xpdf +sudo apt-get -y install evince read -p "Configuration faite, appuyez sur n'importe quelle touche pour continuer" -- GitLab