summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Schlüter <bschlueter@posteo.de>2018-01-29 13:58:58 +0100
committerBenjamin Schlüter <bschlueter@posteo.de>2018-01-29 13:58:58 +0100
commit5bae570c9e9d36324d6a0b2a8a96b47e57f61bfd (patch)
treef043c299a003966fd08e38ca3ef79d82cecf6aa1
parent5341df450338dc0d5e9444aaea28117558c0f4f1 (diff)
downloaditzks-install-script-5bae570c9e9d36324d6a0b2a8a96b47e57f61bfd.tar.gz
itzks-install-script-5bae570c9e9d36324d6a0b2a8a96b47e57f61bfd.tar.bz2
itzks-install-script-5bae570c9e9d36324d6a0b2a8a96b47e57f61bfd.zip
Add alternate script for automatic edits to /etc/network/interfaces.
-rw-r--r--install-itzks-workstation4
1 files changed, 4 insertions, 0 deletions
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