From f36c3e2d647db4efe386c78648a3d59f19bd9df6 Mon Sep 17 00:00:00 2001
From: Ben Lipton <benlipton@google.com>
Date: Mon, 25 Jul 2011 13:22:36 -0400
Subject: [PATCH] Add OS search path to gnt-cluster info

Otherwise, it's pretty hard to figure it out from the command line.

Signed-off-by: Ben Lipton <benlipton@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 lib/client/gnt_cluster.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/client/gnt_cluster.py b/lib/client/gnt_cluster.py
index 1755ef963..582a12ead 100644
--- a/lib/client/gnt_cluster.py
+++ b/lib/client/gnt_cluster.py
@@ -345,6 +345,7 @@ def ShowClusterConfig(opts, args):
   ToStdout("  - default instance allocator: %s", result["default_iallocator"])
   ToStdout("  - primary ip version: %d", result["primary_ip_version"])
   ToStdout("  - preallocation wipe disks: %s", result["prealloc_wipe_disks"])
+  ToStdout("  - OS search path: %s", utils.CommaJoin(constants.OS_SEARCH_PATH))
 
   ToStdout("Default node parameters:")
   _PrintGroupedParams(result["ndparams"], roman=opts.roman_integers)
-- 
GitLab