add network-manager class
[fai-configs.git] / scripts / FAIBASE / 30-interface
index 783867f..6668efb 100755 (executable)
@@ -10,6 +10,13 @@ then
        iface lo inet loopback
        iface eth0 inet dhcp
 EOF
+elif ifclass NW_MGR && [ $FAI_ACTION != "softupdate" ]
+then
+    cat > $target/etc/network/interfaces <<-EOF
+       # generated by FAI
+       auto lo
+       iface lo inet loopback
+EOF
 elif [ $FAI_ACTION != "softupdate" ]
 then
       [ -n "$IPADDR" ] && cat > $target/etc/network/interfaces <<-EOF