summaryrefslogtreecommitdiffstats
path: root/shell-completion
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2023-06-30 20:07:29 +0200
committerLuca Boccassi <bluca@debian.org>2023-07-06 13:20:04 +0200
commit5e0c61f64d22ed9d4ae53ed94209ed4be25feb30 (patch)
tree16289ec3647a7573de1580e1dd538e6871cb9964 /shell-completion
parentadd APIs for detecting confidential virtualization (diff)
downloadsystemd-5e0c61f64d22ed9d4ae53ed94209ed4be25feb30.tar.xz
systemd-5e0c61f64d22ed9d4ae53ed94209ed4be25feb30.zip
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>
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/systemd-detect-virt2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/systemd-detect-virt b/shell-completion/bash/systemd-detect-virt
index 05e44903e0..e67570e674 100644
--- a/shell-completion/bash/systemd-detect-virt
+++ b/shell-completion/bash/systemd-detect-virt
@@ -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'
)