summaryrefslogtreecommitdiff
path: root/vm-deploy.scm
diff options
context:
space:
mode:
authorW. Kosior <koszko@koszko.org>2024-05-18 01:00:12 +0200
committerW. Kosior <koszko@koszko.org>2024-05-18 01:00:22 +0200
commit2b55cf92033ed02cabd545540241585e05f1fbb0 (patch)
tree9da86016dea518287552b56aaf457da970d4220f /vm-deploy.scm
downloadAGH-ctf-course-2024-2b55cf92033ed02cabd545540241585e05f1fbb0.tar.gz
AGH-ctf-course-2024-2b55cf92033ed02cabd545540241585e05f1fbb0.zip
Initial commit.
Diffstat (limited to 'vm-deploy.scm')
-rw-r--r--vm-deploy.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/vm-deploy.scm b/vm-deploy.scm
new file mode 100644
index 0000000..08dce6c
--- /dev/null
+++ b/vm-deploy.scm
@@ -0,0 +1,12 @@
+(define %os
+ (load (string-append (dirname (current-filename)) "/vm.scm")))
+
+(list (machine
+ (operating-system %os)
+ (environment managed-host-environment-type)
+ (configuration (machine-ssh-configuration
+ (host-name "localhost")
+ (system "x86_64-linux")
+ (port 22)
+ (host-key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN0aj062v8Mnxidud6DAyEN8XI8eCx+0fe6ad7QG1fXj")
+ (allow-downgrades? #t)))))