[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
-append option to pass kickstart file
From: |
Jack Lamb |
Subject: |
-append option to pass kickstart file |
Date: |
Tue, 19 Nov 2024 05:59:59 +0000 |
Hi,
I am trying to install Fedora 41 VM using QEMU on macOS using a
kickstart file. I've trouble passing the location of kickstart file to
the OS.
I'd downloaded the ISO file, created a qcow2 disk image using qemu-img,
and created a kickstart file[1].
Trying to boot the VM with qemu-system-x86_64 results in the following
error:
$ qemu-system-x86_64 -m 4G -cdrom fedora41.iso -hda vm.qcow2 -boot d -net nic
-net user -append "ks=file:vm.ks text"
qemu-system-x86_64: -append only allowed with -kernel option
What's the best way to pass the kickstart file to the OS from qemu? Do
I've to extract the vmlinuz out of the ISO and then pass it as
-kernel VMLINUZ -append "ks=file:vm.ks"?
My goal is to learn how to do an unattended VM install using kickstart
files on QEMU.
Thanks!
[1] https://pastebin.com/bbp2CZdy
--
Jack
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- -append option to pass kickstart file,
Jack Lamb <=