diff options
Diffstat (limited to 'hcloud-snapshot/snapshot.pkr.hcl')
| -rw-r--r-- | hcloud-snapshot/snapshot.pkr.hcl | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/hcloud-snapshot/snapshot.pkr.hcl b/hcloud-snapshot/snapshot.pkr.hcl index d8834c8..cabf65d 100644 --- a/hcloud-snapshot/snapshot.pkr.hcl +++ b/hcloud-snapshot/snapshot.pkr.hcl @@ -1,10 +1,15 @@ 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" + 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" + snapshot_labels = { + "os": "openbsd", + "version": var.version, + "arch": var.arch, + } } |