[lxc-devel] [lxd/master] Added the command shell to lxc-client bash-completion
erifri on Github
lxc-bot at linuxcontainers.org
Wed Oct 5 13:31:21 UTC 2016
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 357 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20161005/ac52350d/attachment.bin>
-------------- next part --------------
From 70f7fee4705b9c8e4759fc69572696986105a3ba Mon Sep 17 00:00:00 2001
From: Erik Frisk <erifri at gmail.com>
Date: Wed, 5 Oct 2016 15:29:38 +0200
Subject: [PATCH] Added the command shell to lxc-client bash-completion
---
config/bash/lxd-client | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/config/bash/lxd-client b/config/bash/lxd-client
index bbc4d10..c590aaa 100644
--- a/config/bash/lxd-client
+++ b/config/bash/lxd-client
@@ -40,7 +40,7 @@ _have lxc && {
fi
lxc_cmds="config copy delete exec file help image info init launch \
- list move profile publish remote restart restore snapshot start stop \
+ list move profile publish remote restart restore shell snapshot start stop \
version"
global_keys="core.https_address core.https_allowd_origin \
@@ -188,6 +188,9 @@ _have lxc && {
"restore")
_lxd_names
;;
+ "shell")
+ _lxd_names "RUNNING"
+ ;;
"snapshot")
_lxd_names
;;
More information about the lxc-devel
mailing list