Skip to content

Commit

Permalink
🐛 Fixup regression introduced in kairos-io#177
Browse files Browse the repository at this point in the history
Use cos initrd module by default
  • Loading branch information
mudler committed Oct 20, 2022
1 parent 080ed3b commit c52fe92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion overlay/files-fedora/etc/cos/bootargs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ -n "$recoverylabel" ]; then
set kernelcmd="console=tty1 root=live:CDLABEL=$recoverylabel rd.live.dir=/ rd.live.squashimg=$img panic=5 selinux=0"
else
# Boot arguments when the image is used as active/passive
set kernelcmd="console=tty1 root=LABEL=$label net.ifnames=1 iso-scan/filename=$img panic=5 rd.cos.oemlabel=COS_OEM selinux=0"
set kernelcmd="console=tty1 root=LABEL=$label net.ifnames=1 cos-img/filename=$img panic=5 rd.cos.oemlabel=COS_OEM selinux=0"
fi

set initramfs=/boot/initrd
2 changes: 1 addition & 1 deletion overlay/files/etc/cos/bootargs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if [ -n "$recoverylabel" ]; then
set kernelcmd="console=tty1 root=live:CDLABEL=$recoverylabel rd.live.dir=/ rd.live.squashimg=$img panic=5"
else
# Boot arguments when the image is used as active/passive
set kernelcmd="console=tty1 root=LABEL=$label net.ifnames=1 iso-scan/filename=$img panic=5 security=selinux rd.cos.oemlabel=COS_OEM selinux=1 fsck.mode=force fsck.repair=yes systemd.crash_reboot=yes"
set kernelcmd="console=tty1 root=LABEL=$label net.ifnames=1 cos-img/filename=$img panic=5 security=selinux rd.cos.oemlabel=COS_OEM selinux=1 fsck.mode=force fsck.repair=yes systemd.crash_reboot=yes"
fi

set initramfs=/boot/initrd

0 comments on commit c52fe92

Please sign in to comment.