Mailinglist Archive: opensuse-autoinstall (47 mails)
| < Previous | Next > |
[opensuse-autoinstall] Ask-list... wrong answers on combined dialogs?
- From: "Lundgren, Andrew" <Andrew.Lundgren@xxxxxxxxxx>
- Date: Fri, 16 Nov 2007 14:28:43 -0700
- Message-id: <4B91E89056EE014A8F1AA3FB8648A0CA01C63BAC@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
First, thanks for the help on figuring out how to create an ask-list. I
have it working now. I am asking several questions on install that are
related.
When I have each question in it's own dialog everything is working
great. As the questions are related I want to put them in grouped
dialog boxes. When I do this, I seem to be getting corrupted answers.
I grouped them by simply adding the dialog key to each stand alone
question set.
My ask section looks like this:
<ask-list config:type="list">
<ask>
<dialog config:type="integer">1</dialog>
<path>networking,dns,hostname</path>
<question>Enter Hostname (without domain)</question>
<stage>cont</stage>
<default></default>
</ask>
<ask>
<dialog config:type="integer">1</dialog>
<path>networking,dns,domain</path>
<question>Enter Domain (ex: level3.net)</question>
<stage>cont</stage>
<default></default>
</ask>
<ask>
<dialog config:type="integer">2</dialog>
<path>networking,interfaces,0,ipaddr</path>
<question>Enter IPv4 address</question>
<stage>cont</stage>
</ask>
<ask>
<dialog config:type="integer">2</dialog>
<path>networking,interfaces,0,netmask</path>
<question>Enter netmask </question>
<stage>cont</stage>
<default>255.255.255.0</default>
</ask>
<ask>
<dialog config:type="integer">2</dialog>
<path>networking,routing,routes,0,gateway</path>
<question>Enter default IPv4 gateway</question>
<stage>cont</stage>
</ask>
...
Anything jump out as a problem?
I am seeing the 1st answer come out correct, but the subsequent ones do
not...
Thanks!
--
Andrew
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
have it working now. I am asking several questions on install that are
related.
When I have each question in it's own dialog everything is working
great. As the questions are related I want to put them in grouped
dialog boxes. When I do this, I seem to be getting corrupted answers.
I grouped them by simply adding the dialog key to each stand alone
question set.
My ask section looks like this:
<ask-list config:type="list">
<ask>
<dialog config:type="integer">1</dialog>
<path>networking,dns,hostname</path>
<question>Enter Hostname (without domain)</question>
<stage>cont</stage>
<default></default>
</ask>
<ask>
<dialog config:type="integer">1</dialog>
<path>networking,dns,domain</path>
<question>Enter Domain (ex: level3.net)</question>
<stage>cont</stage>
<default></default>
</ask>
<ask>
<dialog config:type="integer">2</dialog>
<path>networking,interfaces,0,ipaddr</path>
<question>Enter IPv4 address</question>
<stage>cont</stage>
</ask>
<ask>
<dialog config:type="integer">2</dialog>
<path>networking,interfaces,0,netmask</path>
<question>Enter netmask </question>
<stage>cont</stage>
<default>255.255.255.0</default>
</ask>
<ask>
<dialog config:type="integer">2</dialog>
<path>networking,routing,routes,0,gateway</path>
<question>Enter default IPv4 gateway</question>
<stage>cont</stage>
</ask>
...
Anything jump out as a problem?
I am seeing the 1st answer come out correct, but the subsequent ones do
not...
Thanks!
--
Andrew
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |