Fix the initrd option in the QEMU launcher script

It was -R, but this was already taken by the read-only pflash option, so
use -r instead.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2024-08-16 16:58:52 +01:00
parent 860464ae1a
commit 16563bb411
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137
2 changed files with 4 additions and 3 deletions

View File

@ -35,8 +35,8 @@ Options:
(see https://github.com/stefanberger/swtpm/wiki/Certificates-created-by-swtpm_setup).
-R FILE Set up pflash ro content, e.g., for UEFI (with -W).
-W FILE Set up pflash rw content, e.g., for UEFI (with -R).
-K FILE Set kernel for direct boot used to simulate a PXE boot (with -R).
-R FILE Set initrd for direct boot used to simulate a PXE boot (with -K).
-K FILE Set kernel for direct boot used to simulate a PXE boot (with -r).
-r FILE Set initrd for direct boot used to simulate a PXE boot (with -K).
-s Safe settings: single simple cpu and no KVM.
-h this ;-)
@ -105,7 +105,7 @@ while [ $# -ge 1 ]; do
-K|-kernel-file)
VM_KERNEL="$2"
shift 2 ;;
-R|-initrd-file)
-r|-initrd-file)
VM_INITRD="$2"
shift 2 ;;
-v|-verbose)

View File

@ -0,0 +1 @@
- Fixed the initrd option in the QEMU launcher script. It was -R, but this was already taken by the read-only pflash option, so use -r instead. ([scripts#2239](https://github.com/flatcar/scripts/pull/2239))