Dashboard#index
Lex-deeit certificate
Fingerprint
<%= Certificate.get.cert_fpr %>
Serial
<%= Certificate.get.cert.serial %>
<% @hosts.each do |host| -%>
<%= host.name %>
Url:
<%= host.uri %>
Connection status:
<% case -%>
<% when host.authenticated -%>
authenticated
<% when host.connected -%>
connected
<% else -%>
not connected
<% end -%>
<% if host.authenticated -%>
Config:
<%= host.lxd_config.config %>
Host known certificates
<% host.authenticated and host.lxd_certificates.each do |certificate| -%>
- <%= certificate.fingerprint %>
<% end -%>
<% end -%>
<% end -%>