detect-virt: add --cvm option
The --cvm option detects whether the OS is running inside a confidential virtual machine. 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
a577a61625
commit
5e0c61f64d
@@ -28,7 +28,7 @@ _systemd_detect_virt() {
|
||||
local i verb comps
|
||||
|
||||
local -A OPTS=(
|
||||
[STANDALONE]='-h --help --version -c --container -v --vm -q --quiet
|
||||
[STANDALONE]='-h --help --version -c --container -v --vm -q --quiet --cvm
|
||||
--private-users'
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user