Mailinglist Archive: opensuse-autoinstall (47 mails)

< Previous Next >
Re: [opensuse-autoinstall] How to use <ask> statements in autoyast?
  • From: Uwe Gansert <ug@xxxxxxx>
  • Date: Mon, 19 Nov 2007 16:48:41 +0100
  • Message-id: <200711191648.41664.ug@xxxxxxx>
On Montag, 19. November 2007, Hougaard wrote:

- if I use the "<file>/tmp/answer_hostname</file>", what is the format
of the answer file?? just an empty text file with the answer or?

it's a textfile with only the string of the answer. In case of a boolean
it's "true" or "false" (without quotes), in case of textentries it's the
exact string that was entered by the user.

- what about the value to be exchanged? should it be empty, or will any
predefined value be exchanged with the one asked for?

does not matter. Empty or not, it will be replaced.

- Will it be possible to answer serveral "paths" with the same
question?? eg. below

unfortunately not. That's a design bug I did there. I'll fix that in the
future somehow without breaking compatibilty

<ask>
<path>arkmanager,dbpassword</path>
<path>ca_mgm,password</path>
<question>Type Password</question>
<stage>initial</stage>
<default>Type in your password here</default>
</ask>

or is there, a more clever solution to such a question?

with 10.3 you could change the profile via script but with OES2 there is no
really clever solution other than write a script and do the changes to the
system by yourself with it.

- How about the password... is it possible to get this read from an
clear text string? (I'm installing OES2, and there are several passwords
and some are written in clear text, and some ain't)

if you need the password in an encrypted way, then you have to <ask> the
user to enter it encrypted (*haha* - good one) or you encrypt it via script
and write it to the correct position in the system.

--
ciao, Uwe Gansert

Uwe Gansert, Server Technologies Team
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Business: http://www.suse.de/~ug
now playing The Retrosic - Quid pro Quo
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
References