diff options
author | tv <tv@krebsco.de> | 2016-02-07 06:43:26 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-07 06:43:26 +0100 |
commit | f1ebd4e4e1bdc76bfca894ace336064b81cc98a1 (patch) | |
tree | a7f6a90da0412c599981d143d77614cf5cbb9bdb | |
parent | b746dd09361b0cfb14abd3995afe10536c8fcad8 (diff) |
krebs knownHosts: add-port everywhere
-rw-r--r-- | krebs/3modules/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/krebs/3modules/default.nix b/krebs/3modules/default.nix index 529506905..e11d40a05 100644 --- a/krebs/3modules/default.nix +++ b/krebs/3modules/default.nix @@ -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; |