grnet / kamaki

A multipurpose, interactive command-line tool, and also a client development library for managing OpenStack clouds.
Other
8 stars 12 forks source link

(kamaki image list -l) outputs everything in lowercase #103

Open loverdos opened 9 years ago

loverdos commented 9 years ago

For example, have a look at the properties in the below two cases.

$ kamaki image list -l
[...]
7c8f6173-aba8-455d-afd1-c1968d31de19 Bitnami-joomla
    status: AVAILABLE
    checksum: 4bb46f76c26716c372198612e32396b115615eb4570428c9c034edb74da4cb87
    created_at: 2015-02-17 14:03:20
    disk_format: diskdump
    updated_at: 2015-02-17 14:03:20
    properties:
        partition_table: msdos
        kernel: 3.13.0-36-generic
        osfamily: linux
        description: Ubuntu 14.04.1 LTS
        remote_connection: ssh:port=22,user=bitnami
        gui: No GUI
        sortorder: 7801404
        users: bitnami
        os: ubuntu
        root_partition: 1
        swap: 2:976
    is_snapshot: False
    location: pithos://bbab7241-fc27-4d30-bf30-bf361c60491c/images/bitnami-joomla.disklabel
    container_format: bare
    owner: bbab7241-fc27-4d30-bf30-bf361c60491c (skalkoto@grnet.gr)
    is_public: True
    deleted_at:
    size: 1.21GiB

$ kamaki image info 7c8f6173-aba8-455d-afd1-c1968d31de19
status: AVAILABLE
name: Bitnami-joomla
is-snapshot: False
checksum: 4bb46f76c26716c372198612e32396b115615eb4570428c9c034edb74da4cb87
description:
updated-at: 2015-02-17 14:03:20
created-at: 2015-02-17 14:03:20
id: 7c8f6173-aba8-455d-afd1-c1968d31de19
deleted-at:
location: pithos://bbab7241-fc27-4d30-bf30-bf361c60491c/images/bitnami-joomla.disklabel
is-public: True
owner: bbab7241-fc27-4d30-bf30-bf361c60491c (skalkoto@grnet.gr)
disk-format: diskdump
size: 1.21GiB
properties:
    PARTITION_TABLE: msdos
    KERNEL: 3.13.0-36-generic
    OSFAMILY: linux
    DESCRIPTION: Ubuntu 14.04.1 LTS
    REMOTE_CONNECTION: ssh:port=22,user=bitnami
    GUI: No GUI
    SORTORDER: 7801404
    USERS: bitnami
    OS: ubuntu
    ROOT_PARTITION: 1
    SWAP: 2:976
container-format: bare
skalkoto commented 8 years ago

Those 2 command should output the image properties in the same way