[sles-beta] Recent Autoyast Documentation

Stefan Schubert schubi at suse.de
Mon Jun 30 05:18:57 MDT 2014


Am 30.06.2014 13:03, schrieb Klaus Gmeinwieser:
> Hi Stefan,
>
> thanks for your quick answer. Unfortunately my proxy tells me the link
> (to the pdf) is broken - maybe not suse.de?
>
I have asked the docu team for another link. I will post it on the list.
> Anyway, I used the SLES11 SP3 doc, which leads to the following -
> similar code:
>
>   <ask-list config:type="list">
>   <ask>
>     <path>networking,dns,hostname</path>
>     <question>Enter Hostname</question>
>     <default>Popup</default>
>     <stage>initial</stage>
>   </ask>
>   <ask>
>     <path>networking,dns,domain</path>
>     <question>Enter Domain</question>
>     <stage>initial</stage>
>     <default>for.the.domain</default>
>   </ask>
>
>
> As I see, I am missing the inner pathlist tag, but with SLE12 Beta9 the
> whole "ask tree" is completely ignored!
> I can start installation, but this leads to a system with a root
> password I do not know, I set it in the autoyast file.

Beta 9 has an issue regarding root password if it is uncrypted in the 
autoinst.xml file.
It will not be crytped in /etc/shadow. A workaround would be to use a 
crypted root password
in autoinst.xml. (Just copy and paste it from /etc/shadow AND the set 
crypted flag

<encrypted config:type="boolean">true</encrypted> )

If you still have problems with the "ask" stuff you can try the example:
https://github.com/yast/yast-autoinstallation/blob/master/test_xml/ask.xml

I have tested it some days ago with beta9 and it has worked quite nice.

Greetings
Stefan


-- 
*******************************************************************************
Stefan Schubert
e-mail: schubi at suse.de
-------------------------------------------------------------------------------
SUSE LINUX Products GmbH
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany



More information about the sles-beta mailing list