Added possibility to customize key location for closed-install.nix
svn path=/nixos/trunk/; revision=12755
This commit is contained in:
parent
6e6f867a0a
commit
385ffce14d
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
platform ? __currentSystem
|
||||
,hostConnectPort ? "3737"
|
||||
,sshPubKey ? /var/certs/ssh/id_livedvd.pub
|
||||
} :
|
||||
let
|
||||
isoFun = import ./rescue-cd-configurable.nix;
|
||||
|
@ -48,7 +49,7 @@ in
|
|||
*/
|
||||
additionalFiles = [
|
||||
{
|
||||
source = /var/certs/ssh/id_livedvd.pub;
|
||||
source = sshPubKey;
|
||||
target = "/root/.ssh/authorized_keys";
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue