With this patch, gnt-cluster info shows both the ssh key type and the key length.
Signed-off-by: Hrvoje Ribicic <[email protected]> --- lib/client/gnt_cluster.py | 2 ++ src/Ganeti/Query/Server.hs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/client/gnt_cluster.py b/lib/client/gnt_cluster.py index 717da44..0aa1bb4 100644 --- a/lib/client/gnt_cluster.py +++ b/lib/client/gnt_cluster.py @@ -624,6 +624,8 @@ def ShowClusterConfig(opts, args): ("zeroing image", result["zeroing_image"]), ("compression tools", result["compression_tools"]), ("enabled user shutdown", result["enabled_user_shutdown"]), + ("ssh_key_type", result["ssh_key_type"]), + ("ssh_key_bits", result["ssh_key_bits"]), ]), ("Default node parameters", diff --git a/src/Ganeti/Query/Server.hs b/src/Ganeti/Query/Server.hs index c153740..5d39110 100644 --- a/src/Ganeti/Query/Server.hs +++ b/src/Ganeti/Query/Server.hs @@ -270,6 +270,8 @@ handleCall _ _ cdata QueryClusterInfo = , ("data_collector_interval", showJSON . fmap dataCollectorInterval $ clusterDataCollectors cluster) + , ("ssh_key_type", showJSON $ clusterSshKeyType cluster) + , ("ssh_key_bits", showJSON $ clusterSshKeyBits cluster) ] in case master of -- 2.6.0.rc2.230.g3dd15c0
