diff options
Diffstat (limited to 'install-itzks-workstation')
-rw-r--r-- | install-itzks-workstation | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation index 76ab903..8cab9d0 100644 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -71,8 +71,8 @@ esac #################### # Scripted edit to /etc/network/interfaces when script is run -sed -i 's/auto eth0//' /etc/network/interfaces -sed -i 's/iface eth0 inet dhcp/#NetworkManager iface eth0 inet dhcp/' /etc/network/interfaces +sed -r -e 's/auto\s+eth[0-9]//' -i /etc/network/interfaces +sed -r -e 's/^(iface\s+eth[0-9]\s+inet\s+dhcp)\s*/#NetworkManager \1/' -i /etc/network/interfaces #################### |