diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2017-01-03 21:20:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2017-01-04 10:27:37 +0000 |
commit | 48fb10c73858a534551af00dbfc71d928bbb0138 (patch) | |
tree | e25b5850e2fe67d205f72ba428649fb8d607dfeb /share/bash-completion | |
parent | Adding bash-completion for container version command. (diff) | |
download | compute-tools-48fb10c73858a534551af00dbfc71d928bbb0138.tar.xz compute-tools-48fb10c73858a534551af00dbfc71d928bbb0138.zip |
Using generic directory instead of local directory for debconf files to bash-complete container create command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rw-r--r-- | share/bash-completion/container | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/bash-completion/container b/share/bash-completion/container index 19a8e0f..546a896 100644 --- a/share/bash-completion/container +++ b/share/bash-completion/container @@ -77,7 +77,7 @@ _container() *) case "${prev}" in -n|--name) - opts=$(cd /srv/container/container-tools/debconf 2>/dev/null && ls *.cfg 2>/dev/null | sed -e 's/.cfg$//g') + opts=$(cd /etc/container-tools/debconf 2>/dev/null && ls *.cfg 2>/dev/null | sed -e 's/.cfg$//g') COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; |