Hi,
I created custom dialogs that ask users for application specific settings, that must be set during combustion phase on first boot. I created a custom script for that and named it
custom/scripts/14u-custom-dialog.sh
with recent SLE Micro 6 versions (> 6.0 selfinstall !) Systemd status messages render my dialogs useless (Image 1). I tried to set this kernel argument with EIB:
this parameter works a few seconds during initial boot but short before the combustion phase systemd status messages come back:
The systemd status message is continously written over the dialog :(
Together with a SUSE consultant I was able to create a custom SLE Micro 6 ISO image containing the "systemd.show_status=0" kernel parameter. This version works as expected (Image 2), but requires a custom build of SLE Micro :(
This screen looks as expected!
I'm not sure if Edge Image Builder misses to set kernel parameters on all necessary locations in the base ISO image or if SLE Micro 6 versions from 6.1 on have this problem. SLE Micro 6.0 did not show this behaviour.
Expected Behaviour:
SLE Micro 6 should take kernel parameters configured with EIB (or simply manually entered in GRUB!) during the whole installation phase and first boot.
Currently it seems as if some kernel parameters are hardcoded in new SLE Micro ISO Images.
Having custom dialogs during combustion phase is a GREAT feature and it should be possible to use them out of the box!
Content of my custom script, if somebody is interested, how to get it running with the "dialog" tool in the combustion phase:
#!/bin/sh
# These parameters are necessary to render the dialog correct.
export TERM=linux;
export LANG=en_US.UTF-8
ROLE=master1
SETTING1=hiho
SETTING2=hohi
exec 3>&1;
network_test() {
response=$(
dialog --title "Node specific settings" --form "" 0 0 0 \
"Role:" 1 1 "$ROLE" 1 15 20 0 \
"Setting 1:" 2 1 "$SETTING1" 2 15 20 0 \
"Setting 2:" 3 1 "$SETTING2" 3 15 20 0 \
2>&1 1>&3 \
> /dev/tty1)
}
network_test
exec 3>&-;
Any help would be appreciated.
Thanks,
Josef
Hi,
I created custom dialogs that ask users for application specific settings, that must be set during combustion phase on first boot. I created a custom script for that and named it
with recent SLE Micro 6 versions (> 6.0 selfinstall !) Systemd status messages render my dialogs useless (Image 1). I tried to set this kernel argument with EIB:
this parameter works a few seconds during initial boot but short before the combustion phase systemd status messages come back:
The systemd status message is continously written over the dialog :(
Together with a SUSE consultant I was able to create a custom SLE Micro 6 ISO image containing the "systemd.show_status=0" kernel parameter. This version works as expected (Image 2), but requires a custom build of SLE Micro :(
This screen looks as expected!
I'm not sure if Edge Image Builder misses to set kernel parameters on all necessary locations in the base ISO image or if SLE Micro 6 versions from 6.1 on have this problem. SLE Micro 6.0 did not show this behaviour.
Expected Behaviour:
SLE Micro 6 should take kernel parameters configured with EIB (or simply manually entered in GRUB!) during the whole installation phase and first boot.
Currently it seems as if some kernel parameters are hardcoded in new SLE Micro ISO Images.
Having custom dialogs during combustion phase is a GREAT feature and it should be possible to use them out of the box!
Content of my custom script, if somebody is interested, how to get it running with the "dialog" tool in the combustion phase:
Any help would be appreciated.
Thanks,
Josef