1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-01 04:20:39 +02:00

Fix buildUsers function

The key pair should be under the `.ssh` directory
This commit is contained in:
Gabriel Gonzalez
2019-07-26 18:28:21 -07:00
committed by GitHub
parent bd0d666e28
commit 2f4d291a5a

View File

@@ -291,7 +291,7 @@ let possiblyCustomPrelude =
let buildUsers = let buildUsers =
let makeUser = \(user : Text) -> let makeUser = \(user : Text) ->
let home = "/home/${user}" let home = "/home/${user}"
let privateKey = "${home}/id_ed25519" let privateKey = "${home}/.ssh/id_ed25519"
let publicKey = "${privateKey}.pub" let publicKey = "${privateKey}.pub"
in { home = home in { home = home
, privateKey = privateKey , privateKey = privateKey