[Fai-commit] r6428 - branches/stable/3.4/examples/simple/scripts/FAIBASE

Michael Prokop mika at alioth.debian.org
Fri Apr 15 18:09:34 UTC 2011


Author: mika
Date: 2011-04-15 18:09:26 +0000 (Fri, 15 Apr 2011)
New Revision: 6428

Modified:
   branches/stable/3.4/examples/simple/scripts/FAIBASE/30-interface
Log:
FAIBASE/30-interface: bugfix so fai softupdate runs without error on a fresh installation with simple-examples

Based on git-svn-id: svn+ssh://svn.debian.org/svn/fai/trunk@6290 ba5ec265-b0fb-0310-8e1a-cf9e4c2b1591

Original patch by Michael Goetze <mgoetze at mgoetze.net>,
backported by Michael Prokop <mika at grml.org>

Modified: branches/stable/3.4/examples/simple/scripts/FAIBASE/30-interface
===================================================================
--- branches/stable/3.4/examples/simple/scripts/FAIBASE/30-interface	2011-04-15 18:09:00 UTC (rev 6427)
+++ branches/stable/3.4/examples/simple/scripts/FAIBASE/30-interface	2011-04-15 18:09:26 UTC (rev 6428)
@@ -10,7 +10,8 @@
 	iface lo inet loopback
 	iface eth0 inet dhcp
 EOF
-else
+elif [ $FAI_ACTION != "softupdate" ]
+then
       [ -n "$IPADDR" ] && cat > $target/etc/network/interfaces <<-EOF
 	# generated by FAI
 	auto lo eth0




More information about the Fai-commit mailing list