bpg / terraform-provider-proxmox

Terraform / OpenTofu Provider for Proxmox VE
https://registry.terraform.io/providers/bpg/proxmox
Mozilla Public License 2.0
890 stars 140 forks source link

Support VirtIO RNG #1179

Open brutesque opened 7 months ago

brutesque commented 7 months ago

Afaik it is currently not possible to set the VirtIO RNG key in the VM's hardware tab using the terraform module.

Screenshot 2024-04-03 at 20 52 44

There is a command-line equivalent for this.

qm set <vmid> -rng0 source=<source>[,max_bytes=X,period=Y]

It would be nice if it's possible to add a block like this:

resource "proxmox_virtual_environment_vm" "templates" {
  ...
  virtio_rng {
    source    = "/dev/urandom"
    max_bytes = 1024
    period    = 1000
  }
  ...
}
bpg-autobot[bot] commented 1 month ago

Marking this issue as stale due to inactivity in the past 180 days. This helps us focus on the active issues. If this issue is reproducible with the latest version of the provider, please comment. If this issue receives no comments in the next 30 days it will automatically be closed. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!