krebs knownHosts: add-port everywhere
This commit is contained in:
parent
b746dd0936
commit
f1ebd4e4e1
@ -179,7 +179,6 @@ let
|
||||
(mapAttrsToList
|
||||
(net-name: net:
|
||||
let
|
||||
aliases = shorts ++ longs;
|
||||
longs = net.aliases;
|
||||
shorts =
|
||||
map (removeSuffix ".${cfg.search-domain}")
|
||||
@ -190,7 +189,7 @@ let
|
||||
then "[${a}]:${toString net.ssh.port}"
|
||||
else a;
|
||||
in
|
||||
aliases ++ map add-port net.addrs)
|
||||
map add-port (shorts ++ longs ++ net.addrs))
|
||||
host.nets);
|
||||
|
||||
publicKey = host.ssh.pubkey;
|
||||
|
Loading…
Reference in New Issue
Block a user