From 2068ef6804478f4b0b752b85047043098b6cae0f Mon Sep 17 00:00:00 2001 From: Sam Leonard Date: Fri, 19 Apr 2024 16:31:33 +0100 Subject: man: vmspawn - clarify behaviour of omitting --linux=/--initrd= --- man/systemd-vmspawn.xml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'man/systemd-vmspawn.xml') diff --git a/man/systemd-vmspawn.xml b/man/systemd-vmspawn.xml index 4cf82454f8..8f196dd352 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 -- cgit v1.2.3