netdevopsbr / netbox-proxbox

Netbox Plugin for integration between Proxmox and Netbox
Apache License 2.0
338 stars 50 forks source link

Fixed the mgmt_only and proxmox_keep_interface bool logic #103

Closed RWL-Dittrich closed 1 year ago

RWL-Dittrich commented 1 year ago

Fixed the change @MrBE4R made yesterday by adding the proxmox_keep_interface Custom Field.

The or in the if statement that compared the mgmt_only value and the proxmox_keep_interface custom field should have been an and to keep the interface in both cases and delete it if neither are true.