Skip to content

Commit

Permalink
kexec-installer: re-enable kexec-syscall-auto
Browse files Browse the repository at this point in the history
Seems like GCP changed something about their boot process and the same instance types that failed to kexec, now just works.
This fixes secureboot as well: #128
  • Loading branch information
Mic92 committed Aug 26, 2023
1 parent 3067fe0 commit f11fd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/kexec-installer/kexec-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ done

find . | cpio -o -H newc | gzip -9 >> "$SCRIPT_DIR/initrd"

# Dropped --kexec-syscall-auto because it broke on GCP...
if ! "$SCRIPT_DIR/kexec" --load "$SCRIPT_DIR/bzImage" \
--kexec-syscall-auto \
--initrd="$SCRIPT_DIR/initrd" --no-checks \
--command-line "init=$init $kernelParams"; then
echo "kexec failed, dumping dmesg"
Expand Down

0 comments on commit f11fd49

Please sign in to comment.