From: Mark Huang <mlhuang@cs.princeton.edu> Date: Fri, 7 Apr 2006 03:50:08 +0000 (+0000) Subject: - provide a better /etc/issue message X-Git-Tag: bootcd-3.4-2~88 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=75682cc94006f6d697f92b7bef0fbdf396d13285;p=bootcd.git - provide a better /etc/issue message --- diff --git a/build.sh b/build.sh index 85f5d83..787676f 100755 --- a/build.sh +++ b/build.sh @@ -10,7 +10,7 @@ # Mark Huang <mlhuang@cs.princeton.edu> # Copyright (C) 2004-2006 The Trustees of Princeton University # -# $Id: build.sh,v 1.32 2006/04/03 19:33:56 mlhuang Exp $ +# $Id: build.sh,v 1.33 2006/04/03 20:07:45 mlhuang Exp $ # PATH=/sbin:/bin:/usr/sbin:/usr/bin @@ -119,12 +119,18 @@ echo "$PLC_BOOT_SSL_PORT" >$overlay/usr/bootme/BOOTPORT # Generate /etc/issue echo "* Generating /etc/issue" mkdir -p $overlay/etc -( - echo "$FULL_VERSION_STRING" - echo 'Kernel \r on an \m' - echo - echo -) >$overlay/etc/issue +cat >$overlay/etc/issue <<EOF +$PLC_NAME Node: \n +Kernel \r on an \m + +This machine is a node in the $PLC_NAME distributed network. It has +not fully booted yet. If you have cancelled the boot process at the +request of $PLC_NAME Support, please follow the instructions provided +to you. Otherwise, please contact $PLC_MAIL_SUPPORT_ADDRESS. + +Console login at this point is restricted to root. Provide the root +password of the default $PLC_NAME Central administrator account. +EOF # Set root password echo "* Setting root password"