AutoYast vs. Linuxrc 'netsetup' - who wins? Bug?

I’m doing a SLES12 Sp1 autoinstall via autoyast.xml file, and need to
prompt for the only thing that’s different between the target machines:
the IP address [1]. It seems like this should be easy, just set up the
section with like:

<ask-list config:type="list">
<question>IP Address</question>
<title>Networking Configuration</title>
<dialog config:type="integer">0</dialog>
<element config:type="integer">1</element>
<pathlist config:type="list">

later down in the autoyast.xml file, is the section, like:

<!-- bunch of options removed for clarity -->
<keep_install_network config:type="boolean">false</
<interfaces config:type="list">
<!-- more options removed for clarity -->

So, I boot from the ISO and launch the install (Linuxrc) with:

netsetup=dhcp autoyast=

and away we go, through the install. I get prompted for IP address, and
specify something like Everything else is specified in the
autoyast.xml file, so there is no further interaction until the install
is complete.

I log in as root, and run “ip a” to find that the IP address is not as specified, it’s something else, because the system is
using DHCP and has gotten whatever the DHCP server handed out. Looking in
YaST confirms that the system is configured to use DHCP.

If I change Linuxrc to prompt for IP address, like:

netsetup=1 autoyast=

then I get prompted for DHCP (no), IP address (, router
(, nameserver ( and search domain ( The
install proceeds, I get prompted for IP address (, and I end
up with a system configured for static assignment of (what I
fed Linuxrc).

It appears, therefor, that the Linuxrc settings are given priority over
whatever AutoYast is doing in its XML file, to the point where the entire
block for the IP address is superfluous and I may as well just put
the configuration on the Linuxrc command line.

Based on:

the <keep_install_network> parameter in the autoyast.xml file is supposed
to control this behaviour. I have tried both “true” and “false” here and
both result in exactly the same end configuration. The settings from
Linuxrc win, and autoyast loses.

Is the doc wrong? Or is this a bug in autoyast?

[1] Yeah, I know, hostname also needs to be different. That works fine
when prompted in the section. So does prompting for the root
password so that it doesn’t have to be left sitting in an accessible file.

David Gersic
Knowledge Partner
If you find this post helpful, please click on the star below.