|
|
@ -180,10 +180,12 @@ void Installer::cloneFinished(int exitCode, QProcess::ExitStatus exitStatus) { |
|
|
|
#ifdef INTERNAL |
|
|
|
#ifdef INTERNAL |
|
|
|
run("mkdir -p /data/params/d/"); |
|
|
|
run("mkdir -p /data/params/d/"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// https://github.com/commaci2.keys
|
|
|
|
|
|
|
|
const std::string ssh_keys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMX2kU8eBZyEWmbq0tjMPxksWWVuIV/5l64GabcYbdpI"; |
|
|
|
std::map<std::string, std::string> params = { |
|
|
|
std::map<std::string, std::string> params = { |
|
|
|
{"SshEnabled", "1"}, |
|
|
|
{"SshEnabled", "1"}, |
|
|
|
{"RecordFrontLock", "1"}, |
|
|
|
{"RecordFrontLock", "1"}, |
|
|
|
{"GithubSshKeys", SSH_KEYS}, |
|
|
|
{"GithubSshKeys", ssh_keys}, |
|
|
|
}; |
|
|
|
}; |
|
|
|
for (const auto& [key, value] : params) { |
|
|
|
for (const auto& [key, value] : params) { |
|
|
|
std::ofstream param; |
|
|
|
std::ofstream param; |
|
|
|