[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [PATCH 3/4] Set a default shell prompt for s390x installs.
- From: Steffen Maier <maier linux vnet ibm com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: Re: [PATCH 3/4] Set a default shell prompt for s390x installs.
- Date: Sat, 19 Sep 2009 01:31:07 +0200
On 09/18/2009 02:26 AM, David Cantrell wrote:
> ---
> scripts/mk-images | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/scripts/mk-images b/scripts/mk-images
> index 28cb3fb..26d3a43 100755
> --- a/scripts/mk-images
> +++ b/scripts/mk-images
> @@ -818,8 +818,9 @@ makeinitrd() {
> fi
>
> cat > $MBD_DIR/.profile <<EOF
> +PS1="[\u anaconda \W]\\$ "
Excellent idea. "-bash-4.0#" is weird.
However, can we please make it such that users will recognize which of
their potentially hundreds virtual machines they connected to?:
PS1="[\u \h:\w]\\$ "
We might even want to think about adding something similar in
linuxrc.s390 as well. But there hostname might not have been set if the
user chooses to drop into the rescue shell early during the network
configuration. Not sure what we should do about \h in linuxrc.
> PATH=/bin:/usr/bin:/usr/sbin:/mnt/sysimage/sbin:/mnt/sysimage/usr/sbin:/mnt/sysimage/bin:/mnt/sysimage/usr/bin
> -export PATH
> +export PATH PS1
> EOF
>
> rm -f $MBD_FSIMAGE
Steffen
Linux on System z Development
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Erich Baier
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]