mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
cmd: Unify 'run' cmdline options
- Use 'disk-size' for disk size - Use 'disk' for the path to the disk image - Use 'fw' for the path to the EFI firmware Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
3406d33d7f
commit
5ce03cc884
@ -51,9 +51,9 @@ func runQemu(args []string) {
|
||||
qemuKernel := qemuFlags.Bool("kernel", true, "Set boot using 'prefix'-kernel/-initrd/-cmdline")
|
||||
|
||||
// Paths and settings for Disks and UEFI firware
|
||||
qemuDiskPath := qemuFlags.String("diskpath", "", "Path to disk image to use")
|
||||
qemuDiskSize := qemuFlags.String("disksize", "", "Size of disk to create, only created if it doesn't exist")
|
||||
qemuFWPath := qemuFlags.String("fwpath", "/usr/share/ovmf/bios.bin", "Path to OVMF firmware for UEFI boot")
|
||||
qemuDiskPath := qemuFlags.String("disk", "", "Path to disk image to use")
|
||||
qemuDiskSize := qemuFlags.String("disk-size", "", "Size of disk to create, only created if it doesn't exist")
|
||||
qemuFWPath := qemuFlags.String("fw", "/usr/share/ovmf/bios.bin", "Path to OVMF firmware for UEFI boot")
|
||||
|
||||
// VM configuration
|
||||
qemuArch := qemuFlags.String("arch", "x86_64", "Type of architecture to use, e.g. x86_64, aarch64")
|
||||
|
Loading…
Reference in New Issue
Block a user