From ab25e2470acb021acbb692a2cc565b10f8f07b13 Mon Sep 17 00:00:00 2001 From: Manisha Singhal Date: Wed, 13 Sep 2023 20:46:04 +0200 Subject: [PATCH] fix: Fixes DNS issue for host deployment with nic identifier fixes #292 --- app/models/foreman_fog_proxmox/proxmox_interfaces.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/foreman_fog_proxmox/proxmox_interfaces.rb b/app/models/foreman_fog_proxmox/proxmox_interfaces.rb index 69215e747..9d98125a5 100644 --- a/app/models/foreman_fog_proxmox/proxmox_interfaces.rb +++ b/app/models/foreman_fog_proxmox/proxmox_interfaces.rb @@ -33,8 +33,6 @@ def set_nic_identifier(nic, index) _(format('Invalid proxmox NIC id on interface[%s]. Must be net[n] with n integer >= 0', index: index)) end - - nic.identifier = nic.compute_attributes['id'] if nic.identifier.empty? end def vm_type(host)