projects
/
pxelator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
display just part of ssh public key
[pxelator]
/
lib
/
PXElator
/
html.pm
diff --git
a/lib/PXElator/html.pm
b/lib/PXElator/html.pm
index
a6af381
..
062fb88
100644
(file)
--- a/
lib/PXElator/html.pm
+++ b/
lib/PXElator/html.pm
@@
-84,6
+84,8
@@
sub conf {
} else {
if ( $name eq 'amt' ) {
$html = qq|<a title="$html" href=http://$ip:16992/logon.htm>logon</a>|;
+ } elsif ( $name eq 'ssh' ) {
+ $html =~ s{\s(\S{16}).+(\S{16})\s}{ $1..$2 };
}
$html = qq|<pre style="display: inline">$html</pre>|
unless