[Fai-commit] r3708 - trunk/bin
Henning Glawe
glaweh at debian.org
Tue Aug 1 07:46:38 UTC 2006
On Mon, Jul 31, 2006 at 09:11:47PM +0000, fai-commit at lists.alioth.debian.org wrote:
> @@ -100,28 +101,24 @@
> # if HOST was specified on the commandline, set hostname to it
> [ $DO_INIT_TASKS -eq 1 ] && eval_cmdline
> if [ -n "$HOST" ]; then
> - HOSTNAME=$HOST
> + export HOSTNAME=$HOST
> hostname $HOST
> echo "Hostname set to $HOST" | tee -a $LOGDIR/fai.log
> - sleep 3
> fi
> - export HOSTNAME
are you sure about this? IMO we need to export HOSTNAME always and not only
in the case we are modifying it.
HOSTNAME is a bash-variable, which is not part of the environment.
--
c u
henning
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/fai-commit/attachments/20060801/a9e66722/attachment.pgp
More information about the Fai-commit
mailing list