1 Commits

Author SHA1 Message Date
cuddle-please
d09c1e24d9 chore(release): 0.1.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-11-29 23:17:27 +00:00
3 changed files with 4 additions and 28 deletions

View File

@@ -6,21 +6,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [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
### Added
- include template
## [0.1.0] - 2024-11-29 ## [0.1.0] - 2024-11-29
### Added ### Added

View File

@@ -1,8 +0,0 @@
#cloud-config
runcmd:
- apt update
- apt install -y qemu-guest-agent neovim ranger
- systemctl start qemu-guest-agent
- systemctl enable --now sshd
fqdn: ${hostname}.${domain}

View File

@@ -22,7 +22,7 @@ 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.filename
destination = "/var/lib/vz/snippets/cloud_init_deb12_${var.name}.yml" destination = "/var/lib/vz/snippets/cloud_init_deb12_node_${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_${var.name}.yml" cicustom = "vendor=local:snippets/cloud_init_deb12_node.yml"
ipconfig0 = "ip=${var.ip_address},gw=${var.gateway}" ipconfig0 = "ip=${var.ip_address},gw=${var.gateway}"
cores = var.cpu cpu = var.cpu
memory = var.memory memory = var.memory
agent = 1 agent = 1
@@ -101,8 +101,7 @@ 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
] ]
} }
} }