disable dhcp on eth0 for freetops
authorAndrew Engelbrecht <sudoman@ninthfloor.org>
Fri, 14 Aug 2015 15:28:04 +0000 (11:28 -0400)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Fri, 14 Aug 2015 15:28:04 +0000 (11:28 -0400)
this speeds up boot and lets network-manager launch

class/50-host-classes
files/etc/network/interfaces/FREETOP [new file with mode: 0644]
scripts/FREETOP/00_install_etc_network_interfaces [new file with mode: 0755]

index bfc6a80c78f7f69fe31747191beaf5bacbd7ff65..29b0b70938ffd33caead461147006234bf3ad971 100755 (executable)
@@ -36,7 +36,7 @@ case $HOSTNAME in
         echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF"
         ;;
     freetop-x60*)
-       echo "FAIBASE $GRUB DHCPC XORG TRISQUEL WORKSTATION FSF"
+       echo "FAIBASE $GRUB DHCPC XORG TRISQUEL WORKSTATION FSF FREETOP"
        ;;
     iwikiserver*)
        echo "FAIBASE IKIWIKI SYSADMIN VM"
@@ -51,7 +51,7 @@ case $HOSTNAME in
         echo "FAIBASE $GRUB DHCPC SYSADMIN STREAM LIBREPLANET"
         ;;
     freetop*)
-        echo "FAIBASE $GRUB DHCPC SYSADMIN XORG TRISQUEL WORKSTATION LIBREPLANET"
+        echo "FAIBASE $GRUB DHCPC SYSADMIN XORG TRISQUEL WORKSTATION LIBREPLANET FREETOP"
         ;;
     mwikiserver*)
        echo "FAIBASE MEDIAWIKI SYSADMIN VM"
diff --git a/files/etc/network/interfaces/FREETOP b/files/etc/network/interfaces/FREETOP
new file mode 100644 (file)
index 0000000..625a3a5
--- /dev/null
@@ -0,0 +1,6 @@
+# This file is installed by FAI
+
+# interfaces(5) file used by ifup(8) and ifdown(8)
+auto lo
+iface lo inet loopback
+
diff --git a/scripts/FREETOP/00_install_etc_network_interfaces b/scripts/FREETOP/00_install_etc_network_interfaces
new file mode 100755 (executable)
index 0000000..7b9b67a
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+fcopy -v /etc/network/interfaces
+