vmspawn: Add headless console support

This commit is contained in:
Daan De Meyer
2026-03-23 22:00:03 +01:00
committed by Daan De Meyer
parent da9df5eb25
commit a8c2aa9e2f
5 changed files with 19 additions and 8 deletions

View File

@@ -56,7 +56,7 @@ _systemd_vmspawn() {
elif __contains_word "$prev" ${OPTS[SSH_KEY]}; then
comps='dsa ecdsa ecdsa-sk ed25519 ed25519-sk rsa'
elif __contains_word "$prev" ${OPTS[CONSOLE]}; then
comps='interactive native gui'
comps='interactive native gui read-only headless'
elif __contains_word "$prev" ${OPTS[IMAGE_FORMAT]}; then
comps='raw qcow2'
elif __contains_word "$prev" ${OPTS[ARG]}; then