bpg / terraform-provider-proxmox

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

Multiple cdroms #718

Open rkearsley opened 1 year ago

rkearsley commented 1 year ago

When creating a vm (e.g. a windows vm), we specify the windows iso file and also the virtio drivers iso in multiple "cdrom" blocks - ide0 and ide2 Unfortunately this seems not supported in bpg/proxmox, failing with Error: Too many cdrom blocks / No more than 1 "cdrom" blocks are allowed

It would be nice to allow multiple cdrom blocks to be defined as it is supported by proxmox UI to have two cdroms attached to a single vm

Workaround is currently to add the second iso manually in the proxmox web interface

brutesque commented 8 months ago

I just ran into the same issue. This would be a nice feature.

curio-scripter commented 7 months ago

This would be great to have, would definitely use this tf resource if it was possible.

ychlc commented 6 months ago

+1 for this, especially when creating windows VMs as mentioned.

bpg commented 6 months ago

There are few limitations in the current code that make it harder to implement, particularly the update and clone operations. Will be done as part of the "new VM resource" in #1231.

bpg-autobot[bot] commented 5 days 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!