[25820] in Source-Commits

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

Re: /svn/athena r25246, r25247 -

daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Sat Jul 16 18:32:25 2011

Date: Sat, 16 Jul 2011 18:32:16 -0400 (EDT)
From: Benjamin Kaduk <kaduk@MIT.EDU>
To: Geoffrey Thomas <geofft@MIT.EDU>
cc: source-commits@MIT.EDU
In-Reply-To: <201107162225.p6GMP3um011758@drugstore.mit.edu>
Message-ID: <alpine.GSO.1.10.1107161831320.6818@multics.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

It doesn't look like NETMASK and GATEWAY will be set in this codepath.
Moving the logic to set them down here may or may not be what we want.

-Ben

On Sat, 16 Jul 2011, Geoffrey Thomas wrote:

> 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