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
|
platform ? __currentSystem
|
||||||
,hostConnectPort ? "3737"
|
,hostConnectPort ? "3737"
|
||||||
|
,sshPubKey ? /var/certs/ssh/id_livedvd.pub
|
||||||
} :
|
} :
|
||||||
let
|
let
|
||||||
isoFun = import ./rescue-cd-configurable.nix;
|
isoFun = import ./rescue-cd-configurable.nix;
|
||||||
@ -48,7 +49,7 @@ in
|
|||||||
*/
|
*/
|
||||||
additionalFiles = [
|
additionalFiles = [
|
||||||
{
|
{
|
||||||
source = /var/certs/ssh/id_livedvd.pub;
|
source = sshPubKey;
|
||||||
target = "/root/.ssh/authorized_keys";
|
target = "/root/.ssh/authorized_keys";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user