Update to v3.0.1-rc4: test-cloudinit.tf

The `cloudinit_cdrom_storage = "nvme"` option is obsolete in the latest Telmate Proxmox module, as it has been updated to the latest RC4 specifications. The script is now functioning again, but the latest version from master still needs to be *compiled* and manual installed as shown in the video!!
Currently, working with version v3.0.1-rc4.
This commit is contained in:
WesdR 2024-10-23 15:27:57 +02:00 committed by GitHub
parent d47e8b0165
commit bc58882243
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 3 deletions

View File

@ -21,11 +21,18 @@ resource "proxmox_vm_qemu" "cloudinit-k3s-master" {
memory = 4096
name = "k3s-master-0${count.index + 1}"
cloudinit_cdrom_storage = "nvme"
# cloudinit_cdrom_storage = "nvme" depricated on RC oct-2024
scsihw = "virtio-scsi-single"
bootdisk = "scsi0"
disks {
ide {
ide3 {
cloudinit {
storage = "nvme"
}
}
}
scsi {
scsi0 {
disk {
@ -69,11 +76,18 @@ resource "proxmox_vm_qemu" "cloudinit-k3s-worker" {
memory = 4096
name = "k3s-worker-0${count.index + 1}"
cloudinit_cdrom_storage = "nvme"
# cloudinit_cdrom_storage = "nvme" depricated on RC oct-2024
scsihw = "virtio-scsi-single"
bootdisk = "scsi0"
disks {
ide {
ide3 {
cloudinit {
storage = "nvme"
}
}
}
scsi {
scsi0 {
disk {
@ -91,4 +105,4 @@ resource "proxmox_vm_qemu" "cloudinit-k3s-worker" {
sshkeys = <<EOF
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKfn+iQH2HnuXIa67zBzEUfrg4mfH9meVy/CWuzODj2G8K6xWXUx9YTzchqr2xjXxLDQcDC+RDwVY0cAiWZ/OrXd6H8QEkSSEuAc/exWvVmLQGr3e41Ff9BUslqayGEPwFP6fndCWK8FthiwYUUGM5sODLZl4DFcqtgICRzuEcNcRQZFpq/h5NzCYmdPWMrAuQLfF/fW2VRD5gnqaDkgW+pdw+1umut5ey6C4fCPA9/7vkSesDc2RafA3gRkBmO1IxBVhzgl7OLl84iFnl1dEUcrdSCoaRL2AHC36EDvhF5M/Zlv5hebITzc9f7cF88k/rsx2ZnlSOeIHD31/lRhWL root@proxmox-dell
EOF
}
}