From 14be6072e5fd618f527abd5ea430fa43ac4b143a Mon Sep 17 00:00:00 2001 From: wangxiyuan Date: Wed, 19 Aug 2015 11:34:57 +0800 Subject: [PATCH] Add more information show in v2 In v2, it's only show Id and Name. When use --verbose, although added owner and status, it's still lack of Disk-format,Container-format and Size. Change-Id: I26b4b7bd3a3f6dbf82ca73c32dd94c56e8e173a1 Closes-bug:#1486329 --- glanceclient/v2/shell.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glanceclient/v2/shell.py b/glanceclient/v2/shell.py index deea24b4..8585d60e 100644 --- a/glanceclient/v2/shell.py +++ b/glanceclient/v2/shell.py @@ -174,7 +174,8 @@ def do_image_list(gc, args): columns = ['ID', 'Name'] if args.verbose: - columns += ['owner', 'status'] + columns += ['Disk_format', 'Container_format', 'Size', 'Status', + 'Owner'] images = gc.images.list(**kwargs) utils.print_list(images, columns)