]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shell-completion: add missing args to bash systemd-nspawn
authorArthur Zamarin <arthurzam@gentoo.org>
Sat, 18 May 2024 06:34:38 +0000 (09:34 +0300)
committerArthur Zamarin <arthurzam@gentoo.org>
Sat, 18 May 2024 06:34:38 +0000 (09:34 +0300)
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
shell-completion/bash/systemd-nspawn

index 085e6a4d18785c5c147f547a607b16ce768229e0..0a1761d110e2ba1f1d676bc8613c5cd992391087 100644 (file)
@@ -69,19 +69,19 @@ _systemd_nspawn() {
                       --keep-unit -n --network-veth -j -x --ephemeral -a --as-pid2 -U --suppress-sync=yes'
         [ARG]='-D --directory -u --user --uuid --capability --drop-capability --link-journal --bind --bind-ro
                       -M --machine -S --slice -E --setenv -Z --selinux-context -L --selinux-apifs-context
-                      --register --network-interface --network-bridge --personality -i --image --tmpfs
+                      --register --network-interface --network-bridge --personality -i --image --image-policy --tmpfs
                       --volatile --network-macvlan --kill-signal --template --notify-ready --root-hash --chdir
                       --pivot-root --property --private-users --private-users-ownership --network-namespace-path
                       --network-ipvlan --network-veth-extra --network-zone -p --port --system-call-filter --overlay
                       --overlay-ro --settings --rlimit --hostname --no-new-privileges --oom-score-adjust --cpu-affinity
-                      --resolv-conf --timezone --root-hash-sig --background'
+                      --resolv-conf --timezone --root-hash-sig --background --oci-bundle --verity-data'
     )
 
     _init_completion || return
 
     if __contains_word "$prev" ${OPTS[ARG]}; then
         case $prev in
-            --directory|-D|--template)
+            --directory|-D|--template|--oci-bundle)
                 compopt -o nospace
                 comps=$(compgen -S/ -A directory -- "$cur" )
                 ;;