[26384] in Source-Commits

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

Re: /svn/athena r25543 -

daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Fri Jun 1 00:25:47 2012

Date: Fri, 1 Jun 2012 00:25:44 -0400 (EDT)
From: Benjamin Kaduk <kaduk@MIT.EDU>
To: Jonathan D Reed <jdreed@MIT.EDU>
cc: source-commits@MIT.EDU
In-Reply-To: <201205312307.q4VN7ie4032126@drugstore.mit.edu>
Message-ID: <alpine.GSO.1.10.1206010022120.18441@multics.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

The installer is a tangled mess of twisty passageways all alike, and I 
don't know my way around it, but I think this works into things okay, and 
is a plausible anti-foot-shooting measure; ACK.
-Ben

On Thu, 31 May 2012, Jonathan D Reed wrote:

> Author: jdreed
> Date: 2012-05-31 19:07:44 -0400 (Thu, 31 May 2012)
> New Revision: 25543
>
> Modified:
>   trunk/debathena/scripts/installer/pxe/stage1/debathena/installer.sh
> Log:
> Fail for IPs without hostnames
>
> Modified: trunk/debathena/scripts/installer/pxe/stage1/debathena/installer.sh
> ===================================================================
> --- trunk/debathena/scripts/installer/pxe/stage1/debathena/installer.sh	2012-05-31 13:25:25 UTC (rev 25542)
> +++ trunk/debathena/scripts/installer/pxe/stage1/debathena/installer.sh	2012-05-31 23:07:44 UTC (rev 25543)
> @@ -71,7 +71,20 @@
>       echo "$IPADDR reverse-resolves to $HOSTNAME..."
>     else
>       echo "$dig"
> -      echo "Could not look up hostname for $IPADDR.  Oh well..."
> +      echo "Could not look up hostname for $IPADDR."
> +      echo "Cannot continue without a valid hostname."
> +      echo "Please note that if this address was newly requested,"
> +      echo "or its hostname was changed, it can take up to 2 business days"
> +      echo "before DNS information is correct."
> +      echo
> +      echo "Please try again once DNS has been updated or use a different"
> +      echo "IP address.  You may now restart or shut down this workstation."
> +      while true; do
> +	  read foo
> +	  if [ "$foo" = "xyzzy" ]; then
> +	      break
> +	  fi
> +      done
>     fi
>   fi
>   if [ -z "$HOSTNAME" ]; then
>
>

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