[lxc-devel] [lxd/master] Add 'project' to lxc_cmds

19wolf on Github lxc-bot at linuxcontainers.org
Fri Oct 12 23:43:44 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 443 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20181012/e5b792fa/attachment.bin>
-------------- next part --------------
From 9fb92663b3e229966054b39815e3bf1f0c2897a4 Mon Sep 17 00:00:00 2001
From: Eric Wolf <19wolf at gmail.com>
Date: Fri, 12 Oct 2018 19:43:26 -0400
Subject: [PATCH] Add 'project' to lxc_cmds

There's probably some work to do under `case ${no_dashargs[1]}` but I'm not sure what's required.

Signed-off-by: Eric Wolf 19wolf at gmail.com
---
 scripts/bash/lxd-client | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/bash/lxd-client b/scripts/bash/lxd-client
index 1d8b95da88..2502a2fdaf 100644
--- a/scripts/bash/lxd-client
+++ b/scripts/bash/lxd-client
@@ -32,7 +32,7 @@ _have lxc && {
     {
       COMPREPLY=( $( compgen -W "$( lxc profile list | tail -n +4 | awk '{print $2}' | egrep -v '^(\||^$)' )" "$cur" ) )
     }
-
+    
     _lxd_networks()
     {
       COMPREPLY=( $( compgen -W \
@@ -61,7 +61,7 @@ _have lxc && {
     fi
 
     lxc_cmds="config copy delete exec file finger help image info init launch \
-      list manpage monitor move network profile publish query remote rename \
+      list manpage monitor move network profile project publish query remote rename \
       restart restore shell snapshot start stop storage version"
 
     global_keys="backups.compression_algorithm,


More information about the lxc-devel mailing list