Compare commits
No commits in common. "main" and "v0.2.3" have entirely different histories.
19
CHANGELOG.md
19
CHANGELOG.md
@ -6,25 +6,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.5.0] - 2024-12-01
|
||||
|
||||
### Added
|
||||
- remove private variables
|
||||
- remove provider
|
||||
|
||||
## [0.4.0] - 2024-11-30
|
||||
|
||||
### Added
|
||||
- install churn
|
||||
|
||||
## [0.3.0] - 2024-11-30
|
||||
|
||||
### Added
|
||||
- allow password to be null
|
||||
|
||||
### Fixed
|
||||
- revert changes to ip
|
||||
|
||||
## [0.2.3] - 2024-11-29
|
||||
|
||||
### Fixed
|
||||
|
@ -4,7 +4,5 @@ runcmd:
|
||||
- apt install -y qemu-guest-agent neovim ranger
|
||||
- systemctl start qemu-guest-agent
|
||||
- systemctl enable --now sshd
|
||||
- curl https://git.front.kjuulh.io/kjuulh/churn-v2/raw/branch/main/install.sh | bash
|
||||
|
||||
|
||||
fqdn: ${hostname}.${domain}
|
||||
|
2
node.tf
2
node.tf
@ -21,7 +21,7 @@ resource "null_resource" "cloud_init_deb12_node" {
|
||||
}
|
||||
|
||||
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_${var.name}.yml"
|
||||
}
|
||||
|
||||
|
@ -8,3 +8,10 @@ terraform {
|
||||
required_version = ">= 0.13"
|
||||
}
|
||||
|
||||
provider "proxmox" {
|
||||
pm_api_url = var.proxmox_url
|
||||
pm_user = var.proxmox_user
|
||||
pm_password = var.proxmox_password
|
||||
pm_tls_insecure = true
|
||||
}
|
||||
|
||||
|
@ -3,6 +3,14 @@ variable "proxmox_url" {
|
||||
default = "https://proxmox.i.kjuulh.io/api2/json"
|
||||
}
|
||||
|
||||
variable "proxmox_user" {
|
||||
description = "proxmox username (eg. <name>@pve)"
|
||||
}
|
||||
|
||||
variable "proxmox_password" {
|
||||
description = "proxmox password"
|
||||
}
|
||||
|
||||
variable "proxmox_ip" {
|
||||
description = "the ip address of the proxmox instance"
|
||||
default = "10.0.11.0"
|
||||
@ -47,7 +55,6 @@ variable "ssh_private" {
|
||||
|
||||
variable "user_password" {
|
||||
sensitive = true
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "cpu" {
|
||||
|
Loading…
Reference in New Issue
Block a user