Hi,

we have prepared an autoyast installation for SLES 12; everything works
fine, but there was a problem, that I'd like to understand better:

The second stage of the autoyast installation did not run; after reboot the
system just booted, without executing that second stage. I found that this
was because of a "kernel parameter" "5" in the bootloader configuration;
this caused the system to boot into GUI mode and not to execute the
installation. If I removed that "5" and rebooted, the second stage was
executed.

I then found that the "5" comes from autoyast.cfg on the imaging server:


#====================== WARNING! ======================#
# DO NOT EDIT THIS FILE!
#
# Modifying this file is unsupported and can have
# unpredictable results on ZENworks Preboot Services
#================================================= =====#

ZENWORKSAPPEND 1
DEFAULT imaging
LABEL imaging
kernel $KERNEL
append 5 initrd=$INITRD install=$AUTOYAST_INSTALL
autoyast=$AUTOYAST_SCRIPT $KERNEL_PARMS



Removing the number there solves the problem.


But besides that its unsupported to edit this file, I don't understand it:
why is the "5" there and why are these parameters passed into the
configuration of the *deployed* system, instead of the *imaging* system
only?

Autoyast installation fails without editing this file, so what's the
"supported" way to do this?

Thanks,
Mirko