mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-14 08:26:57 +02:00
Merge pull request #2239 from flatcar/chewi/qemu-initrd-opt
Fix the initrd option in the QEMU launcher script
This commit is contained in:
commit
a212694bde
@ -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)
|
||||
|
@ -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…
Reference in New Issue
Block a user