Update terraform/main.tf, ansible/hosts.ini

This commit is contained in:
2022-11-06 14:26:36 +00:00
parent 19d661eb77
commit 90f10012d9
2 changed files with 0 additions and 46 deletions

View File

@@ -11,6 +11,3 @@
[k3s_cluster:children]
master
node
[kasm]
192.168.20.110

View File

@@ -83,46 +83,3 @@ resource "proxmox_vm_qemu" "k3server" {
sshkeys = var.sshkeys
}
#kasm
#------------------------------------------------------
resource "proxmox_vm_qemu" "kasm" {
count = 1
ciuser = "administrator"
vmid = 20110
name = "kasm"
target_node = "overlord"
clone = "CentOS9-Template"
full_clone = true
os_type = "cloud-init"
agent = 1
cores = 4
sockets = 1
cpu = "host"
memory = 4096
scsihw = "virtio-scsi-pci"
bootdisk = "scsi0"
boot = "c"
onboot = true
disk {
size = "60G"
type = "scsi"
storage = "local-zfs"
ssd = 1
backup = 0
}
network {
model = "virtio"
bridge = "vmbr1"
}
lifecycle {
ignore_changes = [
network,
]
}
#Cloud Init Settings
ipconfig0 = "ip=192.168.20.110/24,gw=192.168.20.1"
searchdomain = "durp.loc"
nameserver = var.dnsserver
sshkeys = var.sshkeys
}