PDA

View Full Version : timezone select list while AutoYast



radarwave
12-Jul-2012, 07:33
I'm using an autoyast.xml script to do SLES 11 sp2 installation.

The timezone settings are as below:
<timezone>
<hwclock>localtime</hwclock>
<timezone>US/Eastern</timezone>
</timezone>

But I don't want timezone to be hard code, I'd like it give a dialog and let me select. Does any one knows how to do it while AutoYast?

I know ask-list can do it, but it can only let me input but not select from a list.

Thanks.

radarwave
16-Jul-2012, 04:12
Ok, I have found the way.

Change the confirm item to “true”:
<confirm config:type="boolean">true</confirm>

Add below items:
<proposals config:type="list">
<proposal>timezone_proposal</proposal>
< /proposals >