Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
bbff4df38a | |||
80e06acc47
|
@@ -6,6 +6,11 @@ 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
|
## [0.2.1] - 2024-11-29
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
4
node.tf
4
node.tf
@@ -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_node_${var.name}.yml"
|
destination = "/var/lib/vz/snippets/cloud_init_deb12_${var.name}.yml"
|
||||||
}
|
}
|
||||||
|
|
||||||
depends_on = [
|
depends_on = [
|
||||||
@@ -47,7 +47,7 @@ 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}"
|
||||||
|
|
||||||
cores = var.cpu
|
cores = var.cpu
|
||||||
|
Reference in New Issue
Block a user