mirror of
https://github.com/systemd/systemd.git
synced 2026-08-09 17:38:42 +00:00
vmspawn: Add --firmware=describe
It's useful to be able to check what firmware description vmspawn will select. In particular, this will allow me to figure out the nvram template file that will be picked up so I can pick it up in mkosi and operate on it to pass a modified version of it to vmspawn with --efi-nvram-template=.
This commit is contained in:
committed by
Daan De Meyer
parent
5a7d70e807
commit
d6e5fbca73
@@ -54,7 +54,7 @@ _systemd_vmspawn() {
|
||||
comps=$(compgen -f -- "$cur" )
|
||||
elif __contains_word "$prev" ${OPTS[FIRMWARE]}; then
|
||||
compopt -o nospace -o filenames
|
||||
comps="list $(compgen -f -- "$cur" )"
|
||||
comps="list describe $(compgen -f -- "$cur" )"
|
||||
elif __contains_word "$prev" ${OPTS[FIRMWARE_FEATURES]}; then
|
||||
comps='list'
|
||||
elif __contains_word "$prev" ${OPTS[BIND]}; then
|
||||
|
||||
Reference in New Issue
Block a user