diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-01-31 16:55:00 -0500 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-01-31 16:56:35 -0500 |
| commit | 25325f47675d0fe89bd13fb813ea78b122c3e744 (patch) | |
| tree | 99c9e93ac0f1307c3e6b2841e72cf4adbb65b781 | |
| parent | 2757b81116d5d6c508a83616e1341e03115240f2 (diff) | |
Use "display_name" in "nova-manage vm list".
Fixes bug 894807.
This patch changes the output of "nova-manage vm list" to use the
display_name for an instance instead of the hostname in the output.
This makes the output consistent with what you get with "nova list".
Change-Id: I3131c5aad8770481bac7731c06110a98b4cc2966
| -rwxr-xr-x | bin/nova-manage | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nova-manage b/bin/nova-manage index 1275d72d9..cd1cb6971 100755 --- a/bin/nova-manage +++ b/bin/nova-manage @@ -969,7 +969,7 @@ class VmCommands(object): for instance in instances: print "%-10s %-15s %-10s %-10s %-26s %-9s %-9s %-9s" \ " %-10s %-10s %-10s %-5d" % ( - instance['hostname'], + instance['display_name'], instance['host'], instance['instance_type'].name, instance['vm_state'], |
