Added possibility to customize key location for closed-install.nix

svn path=/nixos/trunk/; revision=12755
This commit is contained in:
Michael Raskin 2008-08-27 21:03:26 +00:00
parent 6e6f867a0a
commit 385ffce14d
1 changed files with 2 additions and 1 deletions

View File

@ -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";
}
];