summaryrefslogtreecommitdiffstats
path: root/shell-completion
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2024-07-16 17:53:08 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2024-07-17 18:05:40 +0200
commit09edabe96ac664c9da856549b261715437d0739d (patch)
tree0af9e11d0144fc12e7e4a5b9a1bcce55ab64629c /shell-completion
parentMerge pull request #33714 from poettering/make-varlink-public (diff)
downloadsystemd-09edabe96ac664c9da856549b261715437d0739d.tar.xz
systemd-09edabe96ac664c9da856549b261715437d0739d.zip
id128: add 'var-partition-uuid' verb
As per DPS the UUID for /var/ should be keyed by the local machine-id, which is non-trivial to do in a script. Enhance 'systemd-id128' to take 'var-partition-uuid' as a verb, and if so perform the calculation.
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/systemd-id1282
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/systemd-id128 b/shell-completion/bash/systemd-id128
index 54d4ec8f7a..a072770438 100644
--- a/shell-completion/bash/systemd-id128
+++ b/shell-completion/bash/systemd-id128
@@ -34,7 +34,7 @@ _systemd_id128() {
)
local -A VERBS=(
- [STANDALONE]='new machine-id boot-id invocation-id help'
+ [STANDALONE]='new machine-id boot-id invocation-id var-partition-uuid help'
[ARG]='show'
)