From d4f119bdf93cc9edb594ac2bbb891dbbab3121e7 Mon Sep 17 00:00:00 2001 From: Guido Trotter <ultrotter@google.com> Date: Wed, 21 Apr 2010 14:57:30 +0100 Subject: [PATCH] gnt-instance info: sort the hv parameters Signed-off-by: Guido Trotter <ultrotter@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- scripts/gnt-instance | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gnt-instance b/scripts/gnt-instance index 4f6ddc804..3dfcd344a 100755 --- a/scripts/gnt-instance +++ b/scripts/gnt-instance @@ -1175,7 +1175,7 @@ def ShowInstanceConfig(opts, args): vnc_bind_address) buf.write(" - console connection: vnc to %s\n" % vnc_console_port) - for key in instance["hv_actual"]: + for key in sorted(instance["hv_actual"]): if key in instance["hv_instance"]: val = instance["hv_instance"][key] else: -- GitLab