detect-virt: add --list-cvm option
The --list-cvm option reports the known types of confidential virtualization technology that can be detected. Related: https://github.com/systemd/systemd/issues/27604 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
committed by
Luca Boccassi
parent
5e0c61f64d
commit
f460fec915
@@ -29,7 +29,7 @@ _systemd_detect_virt() {
|
||||
|
||||
local -A OPTS=(
|
||||
[STANDALONE]='-h --help --version -c --container -v --vm -q --quiet --cvm
|
||||
--private-users'
|
||||
--private-users --list --list-cvm'
|
||||
)
|
||||
|
||||
_init_completion || return
|
||||
|
||||
Reference in New Issue
Block a user