diff options
author | Luap99 <paul.holzinger@web.de> | 2020-05-21 17:36:41 +0200 |
---|---|---|
committer | Luap99 <paul.holzinger@web.de> | 2020-05-22 18:38:39 +0200 |
commit | e704f1362abc416786076a932d8e2ca930b9fa2e (patch) | |
tree | 97fe00322c0fc8023451ff5334b9867924712d5f /completions/bash/podman | |
parent | 72e880351a88ae54b69046ab14a9a4a52c51c78b (diff) | |
download | podman-e704f1362abc416786076a932d8e2ca930b9fa2e.tar.gz podman-e704f1362abc416786076a932d8e2ca930b9fa2e.tar.bz2 podman-e704f1362abc416786076a932d8e2ca930b9fa2e.zip |
Added new flags to 'podman generate systemd' to change the unit name prefix
--container-prefix <string> - default 'container'
Systemd unit name prefix for containers
--pod-prefix <string> - default 'pod'
Systemd unit name prefix for pods
--separator <string> - default '-'
Systemd unit name seperator between name/id and prefix
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'completions/bash/podman')
-rw-r--r-- | completions/bash/podman | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/completions/bash/podman b/completions/bash/podman index 9baf7901e..8f02a4b36 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -2838,7 +2838,10 @@ _podman_generate_systemd() { local options_with_args=" --restart-policy -t - --time" + --time + --container-prefix + --pod-prefix + --separator" local boolean_options=" -h |