Commit e52bd31b authored by elmar's avatar elmar
Browse files

fix: onboot+gitignore

parent b8c8ecc1
Pipeline #999 failed with stage
in 5 seconds
*.tfvars
.terraform
*.tfstate*
*.lock*
......@@ -12,4 +12,5 @@ provider "proxmox" {
pm_user = var.PM_USER
pm_password = var.PM_PASSWORD
pm_parallel = var.PM_PARALLEL
pm_tls_insecure = true
}
resource "proxmox_vm_qemu" "test" {
count = 0
name = "test-${count.index}"
resource "proxmox_vm_qemu" "nitter" {
count = 1
name = "nitter"
target_node = "hv01"
clone = "template-debian-11"
os_type = "cloud-init"
cores = 2
sockets = "1"
cpu = "host"
memory = 512
memory = 1024
agent = 1
onboot = true
scsihw = "virtio-scsi-pci"
bootdisk = "scsi0"
disk {
size = "5G"
size = "10G"
type = "scsi"
storage = "local-zfs"
}
network {
model = "virtio"
bridge = "vmbr10"
bridge = "vmbr9"
}
ipconfig0 = "ip=10.10.0.2${count.index}/24,gw=10.10.0.1,ip6=2a0e:fd45:2a20:10::2${count.index}/64,gw6=2a0e:fd45:2a20:10::"
ipconfig0 = "ip=10.9.0.227/24,gw=10.9.0.1,ip6=2a0e:fd45:2a20:9::37/64,gw6=2a0e:fd45:2a20:9::"
sshkeys = var.CI_SSH_KEY
ciuser = var.CI_USER
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment