[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: hydra: Turn overdrive1 config into a deployable machine config.
From: |
Maxim Cournoyer |
Subject: |
05/06: hydra: Turn overdrive1 config into a deployable machine config. |
Date: |
Sun, 25 Sep 2022 22:29:11 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository maintenance.
commit bcf7692d410b527023198d06411d371c22cf74dc
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Sep 23 14:11:47 2022 -0400
hydra: Turn overdrive1 config into a deployable machine config.
* hydra/overdrive1.scm: Rename to...
* hydra/deploy-overdrive1.scm: ... this. Wrap the operating system
into a <machine> record.
---
hydra/deploy-overdrive1.scm | 14 ++++++++++++++
hydra/overdrive1.scm | 4 ----
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/hydra/deploy-overdrive1.scm b/hydra/deploy-overdrive1.scm
new file mode 100644
index 0000000..0dbc270
--- /dev/null
+++ b/hydra/deploy-overdrive1.scm
@@ -0,0 +1,14 @@
+(use-modules (sysadmin overdrive))
+
+(list
+ (machine
+ (operating-system (overdrive-system "overdrive1"
+ #:wireguard-ip "10.0.0.3/32"))
+ (environment managed-host-environment-type)
+ (configuration
+ (machine-ssh-configuration
+ (host-name "overdrive1")
+ (user (getenv "USER"))
+ (build-locally? #t)
+ (host-key "ssh-ed25519
AAAAC3NzaC1lZDI1NTE5AAAAIPf2f93c90oi9s9qGVGWC3sDgG7kEBvIEwR021NsfG+z")
+ (system "aarch64-linux")))))
diff --git a/hydra/overdrive1.scm b/hydra/overdrive1.scm
deleted file mode 100644
index d093174..0000000
--- a/hydra/overdrive1.scm
+++ /dev/null
@@ -1,4 +0,0 @@
-(use-modules (sysadmin overdrive))
-
-(overdrive-system "overdrive1"
- #:wireguard-ip "10.0.0.3/32")
- branch master updated (af6d488 -> 9971141), Maxim Cournoyer, 2022/09/25
- 04/06: hydra: overdrive: Allow un-authenticated sudo to wheel group., Maxim Cournoyer, 2022/09/25
- 05/06: hydra: Turn overdrive1 config into a deployable machine config.,
Maxim Cournoyer <=
- 02/06: hydra: overdrive: Enable Btrfs compression., Maxim Cournoyer, 2022/09/25
- 06/06: hydra: overdrive: Use ZRAM., Maxim Cournoyer, 2022/09/25
- 03/06: hydra: build-machines: Enable non-authenticated sudo by group., Maxim Cournoyer, 2022/09/25
- 01/06: hydra: Adjust Btrfs balance jobs., Maxim Cournoyer, 2022/09/25