[pve-devel] [PATCH manager] Add each host SSL fingerprint to each node status

Emmanuel Kasper e.kasper at proxmox.com
Wed Nov 22 09:50:40 CET 2017


Signed-off-by: Emmanuel Kasper <e.kasper at proxmox.com>
---
 PVE/API2/Nodes.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm
index b7210d4d..15437dc9 100644
--- a/PVE/API2/Nodes.pm
+++ b/PVE/API2/Nodes.pm
@@ -1746,6 +1746,7 @@ __PACKAGE__->register_method ({
 
 	foreach my $node (@$nodelist) {
 	    my $entry = PVE::API2Tools::extract_node_stats($node, $members, $rrd);
+	    $entry->{ssl_fingerprint} = PVE::Cluster::get_node_fingerprint($node);
 	    push @$res, $entry;
 	}
 
-- 
2.11.0





More information about the pve-devel mailing list