1 Commits

Author SHA1 Message Date
cuddle-please
ebbbe63adf chore(release): 0.3.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-11-30 09:43:42 +00:00
5 changed files with 16 additions and 30 deletions

View File

@@ -6,27 +6,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.5.2] - 2025-01-11
### Added
- add ability to set disk size
## [0.5.1] - 2025-01-11
### Added
- add on boot true for all nodes
## [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

View File

@@ -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}

View File

@@ -65,8 +65,6 @@ resource "proxmox_vm_qemu" "node" {
bootdisk = "scsi0"
scsihw = "virtio-scsi-single"
onboot = true
serial {
id = 0
}
@@ -84,7 +82,7 @@ resource "proxmox_vm_qemu" "node" {
disk {
storage = "local"
# The size of the disk should be at least as big as the disk in the template. If it's smaller, the disk will be recreated
size = var.disk_size
size = "10G"
}
}
}

View File

@@ -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
}

View File

@@ -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"
@@ -57,7 +65,3 @@ variable "cpu" {
variable "memory" {
default = 512
}
variable "disk_size" {
default = "10G"
}