Add OS search path to gnt-cluster info
authorBen Lipton <benlipton@google.com>
Mon, 25 Jul 2011 17:22:36 +0000 (13:22 -0400)
committerIustin Pop <iustin@google.com>
Tue, 26 Jul 2011 10:12:09 +0000 (12:12 +0200)
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

index 1755ef9..582a12e 100644 (file)
@@ -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)