6 Commits

Author SHA1 Message Date
3ab2e3da9b chore(release): v0.2.3 (#5)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(release): 0.2.3

Co-authored-by: cuddle-please <bot@cuddle.sh>
Reviewed-on: https://git.front.kjuulh.io/kjuulh/clank-node/pulls/5
2024-11-30 00:57:26 +01:00
a3002d75a8 fix: use source for remote file
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-11-30 00:56:54 +01:00
bbff4df38a chore(release): v0.2.2 (#4)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(release): 0.2.2

Co-authored-by: cuddle-please <bot@cuddle.sh>
Reviewed-on: https://git.front.kjuulh.io/kjuulh/clank-node/pulls/4
2024-11-30 00:46:14 +01:00
80e06acc47 fix: make sure file names align
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-11-30 00:45:34 +01:00
bb71f85fdd chore(release): v0.2.1 (#3)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(release): 0.2.1

Co-authored-by: cuddle-please <bot@cuddle.sh>
Reviewed-on: https://git.front.kjuulh.io/kjuulh/clank-node/pulls/3
2024-11-30 00:38:53 +01:00
1f0b85ca04 fix: cores and bootdisk
All checks were successful
continuous-integration/drone/push Build is passing
cpus are deprecated

bootdisk is synced every time

Signed-off-by: kjuulh <contact@kjuulh.io>
2024-11-30 00:38:06 +01:00
2 changed files with 21 additions and 5 deletions

View File

@@ -6,6 +6,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [0.2.3] - 2024-11-29
### Fixed
- use source for remote file
## [0.2.2] - 2024-11-29
### Fixed
- make sure file names align
## [0.2.1] - 2024-11-29
### Fixed
- cores and bootdisk
## [0.2.0] - 2024-11-29 ## [0.2.0] - 2024-11-29
### Added ### Added

11
node.tf
View File

@@ -21,8 +21,8 @@ resource "null_resource" "cloud_init_deb12_node" {
} }
provisioner "file" { provisioner "file" {
source = local_file.cloud_init_deb12_node.filename source = local_file.cloud_init_deb12_node.source
destination = "/var/lib/vz/snippets/cloud_init_deb12_node_${var.name}.yml" destination = "/var/lib/vz/snippets/cloud_init_deb12_${var.name}.yml"
} }
depends_on = [ depends_on = [
@@ -47,10 +47,10 @@ resource "proxmox_vm_qemu" "node" {
os_type = "cloud-init" os_type = "cloud-init"
# Cloud init options # Cloud init options
cicustom = "vendor=local:snippets/cloud_init_deb12_node.yml" cicustom = "vendor=local:snippets/cloud_init_deb12_${var.name}.yml"
ipconfig0 = "ip=${var.ip_address},gw=${var.gateway}" ipconfig0 = "ip=${var.ip_address},gw=${var.gateway}"
cpu = var.cpu cores = var.cpu
memory = var.memory memory = var.memory
agent = 1 agent = 1
@@ -101,7 +101,8 @@ resource "proxmox_vm_qemu" "node" {
## TF to think this needs to be rebuilt on every apply ## TF to think this needs to be rebuilt on every apply
lifecycle { lifecycle {
ignore_changes = [ ignore_changes = [
network network,
bootdisk
] ]
} }
} }