fixed ssh access
This commit is contained in:
@@ -27,14 +27,11 @@ FLAKE_INPUT_NAME = "Sovran_Systems"
|
|||||||
GITEA_API_BASE = "https://git.sovransystems.com/api/v1/repos/Sovran_Systems/Sovran_SystemsOS/commits"
|
GITEA_API_BASE = "https://git.sovransystems.com/api/v1/repos/Sovran_Systems/Sovran_SystemsOS/commits"
|
||||||
|
|
||||||
REBOOT_COMMAND = [
|
REBOOT_COMMAND = [
|
||||||
"ssh", "-o", "StrictHostKeyChecking=no", "-o", "BatchMode=yes",
|
|
||||||
"root@localhost",
|
|
||||||
"reboot",
|
"reboot",
|
||||||
]
|
]
|
||||||
|
|
||||||
UPDATE_COMMAND = [
|
UPDATE_COMMAND = [
|
||||||
"ssh", "-o", "StrictHostKeyChecking=no", "-o", "BatchMode=yes",
|
"bash", "-c",
|
||||||
"root@localhost",
|
|
||||||
"cd /etc/nixos && nix flake update && nixos-rebuild switch && flatpak update -y",
|
"cd /etc/nixos && nix flake update && nixos-rebuild switch && flatpak update -y",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user