From 385ffce14d8a88687d17a9a2b1625d8e84ab3b07 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Wed, 27 Aug 2008 21:03:26 +0000 Subject: [PATCH] Added possibility to customize key location for closed-install.nix svn path=/nixos/trunk/; revision=12755 --- configuration/closed-install.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configuration/closed-install.nix b/configuration/closed-install.nix index db02ddd4d8c..7ea2460ad98 100644 --- a/configuration/closed-install.nix +++ b/configuration/closed-install.nix @@ -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"; } ];