initrd-ssh: Fix for new dropbear version.

For some reason 2018.76 dropped the -m flag.
This commit is contained in:
Shea Levy 2018-03-01 21:21:27 -05:00
parent b62a26ea41
commit f2937b7485
No known key found for this signature in database
GPG Key ID: 5C0BD6957D86FE27

View File

@ -118,7 +118,7 @@ in
echo ${escapeShellArg key} >> /root/.ssh/authorized_keys
'') cfg.authorizedKeys)}
dropbear -s -j -k -E -m -p ${toString cfg.port} ${optionalString (cfg.hostRSAKey == null && cfg.hostDSSKey == null && cfg.hostECDSAKey == null) "-R"}
dropbear -s -j -k -E -p ${toString cfg.port} ${optionalString (cfg.hostRSAKey == null && cfg.hostDSSKey == null && cfg.hostECDSAKey == null) "-R"}
'';
boot.initrd.secrets =