Mailinglist Archive: opensuse-autoinstall (49 mails)

< Previous Next >
Re: [opensuse-autoinstall] Setting environment variable for installation
on Tuesday 26 July 2011 Jochen Schaefer wrote:

I need to set an environment variable which should be present within the
installation environment.
Is there any cmd line option which can fulfill that?

actually every variable you pass on the command line to linuxrc ends as an
environment variable. At least in yast but for some reason not on the shell on
tty2 for example and not for the shell on tty1 either if you login via ssh.

so if you do "autoyast=.... install=.... myvar=uwe" then you should get a
variable $myvar

Steffen, is it on purpose that the ttyX shells don't get the variable?

--
ciao, Uwe Gansert

Uwe Gansert
SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg)
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer
Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net
listening to: "My Despair" by In Strict Confidence
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References