From: Sam Leonard Date: Fri, 19 Apr 2024 15:31:33 +0000 (+0100) Subject: man: vmspawn - clarify behaviour of omitting --linux=/--initrd= X-Git-Tag: v256-rc1~109^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F32251%2Fhead;p=thirdparty%2Fsystemd.git man: vmspawn - clarify behaviour of omitting --linux=/--initrd= --- diff --git a/man/systemd-vmspawn.xml b/man/systemd-vmspawn.xml index 4cf82454f84..8f196dd3525 100644 --- a/man/systemd-vmspawn.xml +++ b/man/systemd-vmspawn.xml @@ -179,9 +179,12 @@ - Set the linux kernel image to use for direct kernel boot. - - If no kernel was installed into the image then the image will fail to boot. + Set the linux kernel image to use for direct kernel boot. + If a directory type image is used and was omitted, vmspawn will search for boot loader entries + according to the + Boot Loader Specification assuming + XBOOTLDR to be located at /boot and ESP to be /efi respectively. + If no kernel was installed into the image then the image will fail to boot. @@ -191,13 +194,13 @@ - Set the initrd to use for direct kernel boot. - - If the linux kernel supplied is a UKI then this argument is not required. - - If the option is specified multiple times vmspawn will merge the initrds together. + Set the initrd to use for direct kernel boot. + If the supplied is a + Boot Loader Specification + Type #2 entry, then this argument is not required. + If no initrd was installed into the image then the image will fail to boot. - If no initrd was installed into the image then the image will fail to boot. + can be specified multiple times and vmspawn will merge them together. @@ -571,6 +574,7 @@ $ ssh root@vsock/$my_vsock_cid -i /run/user/$UID/systemd/vmspawn/machine-*-syste mkosi1 machinectl1 importctl1 + Boot Loader Specification