Skip to content

Commit

Permalink
Drop extra cmdline from cloud configs (#1110)
Browse files Browse the repository at this point in the history
  • Loading branch information
Itxaka authored Oct 11, 2024
1 parent 5970738 commit e387627
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion packages/static/kairos-overlay-files/collection.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packages:
- name: "kairos-overlay-files"
category: "static"
version: "1.3.1"
version: "1.3.2"
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ stages:
source "(${bootfile_loc})${bootfile}"
fi
EOF
# Overrides the active cmdline by adding "rd.emergency=reboot", "rd.shell=0" and "panic=5"
# so that any failure in booting initramfs or kernel loading results in a reboot.
# It loads then the boot assessment environment and overrides default boot target if
# a boot failure is detected.
# A boot is considered failed when both sentinel are present ( upgrade triggered, tentative ).
Expand All @@ -83,7 +81,6 @@ stages:
group: 0
permsisions: 0600
content: |
set extra_active_cmdline="rd.emergency=reboot rd.shell=0 panic=5 systemd.crash_reboot systemd.crash_shell=0"
set boot_assessment="/boot_assessment"
search --no-floppy --file --set=boot_assessment_blk "${boot_assessment}"
if [ "${boot_assessment_blk}" ]; then
Expand Down

0 comments on commit e387627

Please sign in to comment.