[25819] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25247 - trunk/debathena/scripts/installer/pxe/natty/debathena

daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Sat Jul 16 18:25:10 2011

Date: Sat, 16 Jul 2011 18:25:03 -0400
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <201107162225.p6GMP3um011758@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: geofft
Date: 2011-07-16 18:25:03 -0400 (Sat, 16 Jul 2011)
New Revision: 25247

Modified:
   trunk/debathena/scripts/installer/pxe/natty/debathena/installer.sh
Log:
Fix mistake in r25246

Modified: trunk/debathena/scripts/installer/pxe/natty/debathena/installer.sh
===================================================================
--- trunk/debathena/scripts/installer/pxe/natty/debathena/installer.sh	2011-07-16 21:52:09 UTC (rev 25246)
+++ trunk/debathena/scripts/installer/pxe/natty/debathena/installer.sh	2011-07-16 22:25:03 UTC (rev 25247)
@@ -102,15 +102,15 @@
 if [ -n "$clusteraddr" ] && [ "$nodhcp" != "true" ]; then
   IPADDR=$clusteraddr
   netconfig
-  echo "Saving preseed netcfg values"
-  cat >> preseed <<EOF
+fi
+echo "Saving preseed netcfg values"
+cat >> preseed <<EOF
 d-i netcfg/get_nameservers string 18.72.0.3
 d-i netcfg/get_ipaddress string $IPADDR
 d-i netcfg/get_netmask string $NETMASK
 d-i netcfg/get_gateway string $GATEWAY
 d-i netcfg/confirm_static boolean true
 EOF
-fi
 
 # We're at a point in the install process where we can be fairly sure
 # that nothing else is happening, so "killall wget" should be safe.


home help back first fref pref prev next nref lref last post