[lxc-users] Clean output for lxc list

술욱 nbensa+lxcusers at gmail.com
Thu Mar 10 09:16:25 UTC 2016


2016-03-10 5:54 GMT-03:00 Stéphane Graber <stgraber at ubuntu.com>:

>
> This would be a good addition but so far nobody stepped up to actually
> implement it...
>
> https://github.com/lxc/lxd/issues/882
>
>
The problem is, the current output format is all but user friendly. Even
`lxc-ls -f ` is better.

I know 2.0 is in rc, but please consider something more simple for all the
lxd commands. lxc image list is specially hard in eyes:


zoolook at venkman:~$ lxc image list ubuntu:
+-----------------------------+--------------+--------+-----------------------------------------------+---------+----------+-------------------------------+
|            ALIAS            | FINGERPRINT  | PUBLIC |
 DESCRIPTION                  |  ARCH   |   SIZE   |          UPLOAD DATE
       |
+-----------------------------+--------------+--------+-----------------------------------------------+---------+----------+-------------------------------+
| p (11 more)                 | 4029ee764a39 | yes    | ubuntu 12.04 LTS
amd64 (release) (20160222)   | x86_64  | 155.25MB | Feb 22, 2016 at 12:00am
(UTC) |
+-----------------------------+--------------+--------+-----------------------------------------------+---------+----------+-------------------------------+
| p/20150728 (5 more)         | bcbb04aa0e05 | yes    | ubuntu 12.04 LTS
amd64 (release) (20150728)   | x86_64  | 153.72MB | Jul 28, 2015 at 12:00am
(UTC) |
+-----------------------------+--------------+--------+-----------------------------------------------+---------+----------+-------------------------------+
| p/20150819 (5 more)         | 567599c74c31 | yes    | ubuntu 12.04 LTS
amd64 (release) (20150819)   | x86_64  | 152.91MB | Aug 19, 2015 at 12:00am
(UTC) |
+-----------------------------+--------------+--------+-----------------------------------------------+---------+----------+-------------------------------+
| p/20150906 (5 more)         | 3ea145e2b8b3 | yes    | ubuntu 12.04 LTS
amd64 (release) (20150906)   | x86_64  | 154.69MB | Sep 6, 2015 at 12:00am
(UTC)  |
+-----------------------------+--------------+--------+-----------------------------------------------+---------+----------+-------------------------------+
| p/20150930 (5 more)         | 9bc955ede4ce | yes    | ubuntu 12.04 LTS
amd64 (release) (20150930)   | x86_64  | 153.86MB | Sep 30, 2015 at 12:00am
(UTC) |



Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160310/8ffb48eb/attachment-0001.html>


More information about the lxc-users mailing list