diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-05-27 18:57:12 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-05-27 18:57:28 +0000 |
commit | ec02cf56078c58021d5fe33a738eb00cb0079f74 (patch) | |
tree | b36858f90ef583ac374fa75f4f531bb31c2350ef /lib/container/create | |
parent | Releasing debian version 20180503-1. (diff) | |
download | open-infrastructure-compute-tools-ec02cf56078c58021d5fe33a738eb00cb0079f74.tar.xz open-infrastructure-compute-tools-ec02cf56078c58021d5fe33a738eb00cb0079f74.zip |
Merging upstream version 20180527.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/container/create')
-rwxr-xr-x | lib/container/create | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/container/create b/lib/container/create index 2ffcfda..561584c 100755 --- a/lib/container/create +++ b/lib/container/create @@ -121,6 +121,13 @@ then Usage fi +case "${NAME}" in + ALL) + echo "'${NAME}': name 'ALL' is reserved to expand to all available container" >&2 + exit 1 + ;; +esac + if [ -e "${CONFIG}/${NAME}.conf" ] then echo "'${NAME}': container already exists or ${CONFIG}/${NAME}.conf has not been removed" >&2 |