Telmate / proxmox-api-go

Consume the proxmox API in golang
MIT License
370 stars 234 forks source link

[FIX] cloudinit disk not set fix #298

Closed mleone87 closed 8 months ago

mleone87 commented 8 months ago

This should fix the issue described in https://github.com/Telmate/terraform-provider-proxmox/issues/901

There is certainly a case that can be not managed by this code, for example when you define a cloudint disk and you remove it but in the remote config is still present and it will be overwritten. But I cannot see a case where one would do this, cloudinit disks are a special thing in Proxmox

looking forward for test and suggestions