summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-10-21 05:48:34 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-10-31 17:18:03 +0000
commit7b67240dc4dc8766a5b9306fb992585df719745f (patch)
tree7e6be1d0c342f39d1bfa57115dc387c4252bf997
parentRemoving fallback TERM in container list, not needed anymore. (diff)
downloadcompute-tools-7b67240dc4dc8766a5b9306fb992585df719745f.tar.xz
compute-tools-7b67240dc4dc8766a5b9306fb992585df719745f.zip
Adding con shortcut for container console command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rw-r--r--Makefile1
-rw-r--r--share/bash-completion/container2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ab17e80..030a9fb 100644
--- a/Makefile
+++ b/Makefile
@@ -106,6 +106,7 @@ install: build
ln -sf debconf.d ${DESTDIR}/usr/share/$(SOFTWARE)/scripts/progress-linux.d
ln -sf container-create-debconf.1 $(DESTDIR)/usr/share/man/man1/container-create-progress-linux.1
+ ln -sf console $(DESTDIR)/usr/lib/$(SOFTWARE)/container/con
ln -sf list $(DESTDIR)/usr/lib/$(SOFTWARE)/container/ls
ln -sf move $(DESTDIR)/usr/lib/$(SOFTWARE)/container/mv
ln -sf remove $(DESTDIR)/usr/lib/$(SOFTWARE)/container/rm
diff --git a/share/bash-completion/container b/share/bash-completion/container
index ffa042d..8ef38cf 100644
--- a/share/bash-completion/container
+++ b/share/bash-completion/container
@@ -43,7 +43,7 @@ _container()
return 0
;;
- console)
+ console|con)
case "${prev}" in
-n|--name)
opts=$(container list -s -f shell)