aboutsummaryrefslogtreecommitdiffstats
path: root/hcloud-snapshot/snapshot.pkr.hcl
diff options
context:
space:
mode:
Diffstat (limited to 'hcloud-snapshot/snapshot.pkr.hcl')
-rw-r--r--hcloud-snapshot/snapshot.pkr.hcl10
1 files changed, 10 insertions, 0 deletions
diff --git a/hcloud-snapshot/snapshot.pkr.hcl b/hcloud-snapshot/snapshot.pkr.hcl
new file mode 100644
index 0000000..d8834c8
--- /dev/null
+++ b/hcloud-snapshot/snapshot.pkr.hcl
@@ -0,0 +1,10 @@
+source "hcloud" "openbsd" {
+ token = var.hcloud_token
+ rescue = "linux64"
+ image = "debian-13"
+ server_type = "cx23"
+ location = "nbg1"
+ ssh_username = "root"
+ ssh_keys = [var.ssh_key]
+ snapshot_name = "openbsd-${var.version}-${var.arch}-golden"
+}