mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 14:11:07 +02:00
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:
parent
860464ae1a
commit
16563bb411
@ -35,8 +35,8 @@ Options:
|
|||||||
(see https://github.com/stefanberger/swtpm/wiki/Certificates-created-by-swtpm_setup).
|
(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).
|
-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).
|
-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).
|
-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).
|
-r FILE Set initrd for direct boot used to simulate a PXE boot (with -K).
|
||||||
-s Safe settings: single simple cpu and no KVM.
|
-s Safe settings: single simple cpu and no KVM.
|
||||||
-h this ;-)
|
-h this ;-)
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ while [ $# -ge 1 ]; do
|
|||||||
-K|-kernel-file)
|
-K|-kernel-file)
|
||||||
VM_KERNEL="$2"
|
VM_KERNEL="$2"
|
||||||
shift 2 ;;
|
shift 2 ;;
|
||||||
-R|-initrd-file)
|
-r|-initrd-file)
|
||||||
VM_INITRD="$2"
|
VM_INITRD="$2"
|
||||||
shift 2 ;;
|
shift 2 ;;
|
||||||
-v|-verbose)
|
-v|-verbose)
|
||||||
|
@ -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))
|
Loading…
x
Reference in New Issue
Block a user