Skip to content

Commit

Permalink
Make use of the update elemental kernel arguments
Browse files Browse the repository at this point in the history
Signed-off-by: David Cassany <dcassany@suse.com>
  • Loading branch information
davidcassany committed Jan 24, 2024
1 parent c4087fe commit 2f0a6ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/files/etc/cos/bootargs.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
set kernel=/boot/vmlinuz
if [ "${img}" == "/cOS/recovery.img" ]; then
if [ "${mode}" == "recovery" ]; then
set kernelcmd="console=tty1 root=LABEL=$recovery_label elemental.image=recovery rd.neednet=0 elemental.oemlabel=$oem_label"
else
set kernelcmd="console=tty1 root=LABEL=$state_label cos-img/filename=$img panic=5 rd.neednet=0 elemental.oemlabel=$oem_label fsck.mode=force fsck.repair=yes"
set kernelcmd="console=tty1 root=LABEL=$state_label elemental.image=${mode} panic=5 rd.neednet=0 elemental.oemlabel=$oem_label fsck.mode=force fsck.repair=yes"
fi
set initramfs=/boot/initrd

0 comments on commit 2f0a6ce

Please sign in to comment.