bpg / terraform-provider-proxmox

Terraform Provider for Proxmox
https://registry.terraform.io/providers/bpg/proxmox
Mozilla Public License 2.0
767 stars 125 forks source link

Add support for hardware watchdog timers (watchdog:) #1508

Open voxxit opened 3 weeks ago

voxxit commented 3 weeks ago

Is your feature request related to a problem? Please describe. I would like to add hardware watchdogs to my VMs.

Describe the solution you'd like watchdog is an argument available in /etc/pve/qemu-server/*.conf files, i.e. watchdog: model=i6300esb,action=reset

Describe alternatives you've considered None.

Additional context

Thank you!

svengreb commented 2 weeks ago

The watchdog option is exposed by the Proxmox VE API for VMs so adding support is luckily straight forward, modifying configuration files would be another (bad) story. The option is also available through the API for configuration updates so this covers the CRUD functionality (delete is always possible through the delete array).

The watchdog option documentation in the Proxmox VE API explorer