Description of problem: The `virt-install --boot` options allows you to specify a kernel and initrd for boot but it is a persistent setting and the machine will always boot with that kernel and initrd. I'd like to be able to specify exactly a kernel and initrd to boot but have that only be effective druing install. So basically the equivalent of this: ``` virt-install --boot kernel=vmlinuz,initrd=initramfs.img,kernel_args="${args}" ``` for --location: virt-install --location $(pwd),kernel=vmlinuz,initrd=initramfs.img,kernel_args="${args}" To be able to be done.
*** Bug 1713356 has been marked as a duplicate of this bug. ***
Thanks for the suggestion, this was implemented in virt-manager 2.2.0 with a --install option: ./virt-install --install help bootdev initrd kernel kernel_args kernel_args_overwrite no_install os So, --install kernel=X,initrd=Y --location has kernel= and initrd= options as well, but those are only for pointing to a path relative to the --location $URL that is passed, incase virt-install can't find the media at that location. So for the one time boot behavior, use --install