]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
DOC: update Ssh= to note sd-v256+ already generates sshd-vsock
authorLaurence Kiln <246209442+LaurenceKiln@users.noreply.github.com>
Thu, 27 Nov 2025 11:17:57 +0000 (13:17 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 27 Nov 2025 11:59:11 +0000 (12:59 +0100)
mkosi/resources/man/mkosi.1.md

index b64780a769627bc3eacc66efb1d7d296d8f6d7f0..51ceac2e7d8ea9f848007268abdb396255087490 100644 (file)
@@ -1243,6 +1243,12 @@ boolean argument: either `1`, `yes`, or `true` to enable, or `0`, `no`,
     enable SSH access to any virtual machines via `mkosi ssh`. To access
     images booted using `mkosi boot`, use **machinectl**.
 
+    Starting with systemd v256, systemd-ssh-generator(8) will automatically
+    provide `sshd` over VSock when running inside a VM. So if you're using a
+    recent version of systemd inside a VM, this option is generally not used.
+    You still need openssh installed in the image, and the default setting of
+    `--vsock=auto` is enough to ensure a VSock is available inside the VM.
+
 `SELinuxRelabel=`, `--selinux-relabel=`
 :   Specifies whether to relabel files to match the image's SELinux
     policy. Takes a boolean value or `auto`. Defaults to `auto`. If