From 5bae570c9e9d36324d6a0b2a8a96b47e57f61bfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Schl=C3=BCter?= Date: Mon, 29 Jan 2018 13:58:58 +0100 Subject: Add alternate script for automatic edits to /etc/network/interfaces. --- install-itzks-workstation | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'install-itzks-workstation') diff --git a/install-itzks-workstation b/install-itzks-workstation index 7f0b1bf..bddb79a 100644 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -77,6 +77,10 @@ Starte nun den Editor mit [Enter] ''' editor /etc/network/interfaces +# Alternate: scripted edit to /etc/network/interfaces +# sed -i 's/"auto eth0"//' /etc/network/interfaces +# sed -i 's/"iface eth0 inet dhcp"/"#NetworkManager iface eth0 inet dhcp"/' /etc/network/interfaces + #################### # FIXME: this should be scripted; manage with puppet instead -- cgit v1.2.3