Skip to content

Add disk number to slcli vs detail #1318

@allmightyspiff

Description

@allmightyspiff

Change Name here to Disk and display the number contained in Virtual_guest->blockDevice->device

That way users can easily upgrade the drive using the device number.

$ ./slcli --format=table vs detail 105826834
:....................:...........................................:
:               name : value                                     :
:....................:...........................................:
:                 id : 105826834                                 :
:               guid : 4584afc2-acb5-4865-b15c-78d86c83c348      :
:           hostname : cgallo-testvsi                            :
:             drives : :........:......:..........:              :
:                    : :  Type  : Name : Capacity :              :
:                    : :........:......:..........:              :
:                    : : System : Disk :  100 GB  :              :
:                    : :  Swap  : Disk :   2 GB   :              :
:                    : : System : Disk :  100 GB  :              :
:                    : : System : Disk :  64 MB   :              :
:                    : :........:......:..........:              :

:....................:...........................................:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions