Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
bb71f85fdd | |||
1f0b85ca04
|
|||
fbf00e99e1 | |||
7708a0cdf3
|
10
CHANGELOG.md
10
CHANGELOG.md
@@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [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
|
||||||
|
8
files/cloud_init_deb12.cloud_config
Normal file
8
files/cloud_init_deb12.cloud_config
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#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}
|
5
node.tf
5
node.tf
@@ -50,7 +50,7 @@ resource "proxmox_vm_qemu" "node" {
|
|||||||
cicustom = "vendor=local:snippets/cloud_init_deb12_node.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}"
|
||||||
|
|
||||||
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
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user