Skip to content

Commit

Permalink
fix: Fixes DNS issue for host deployment with nic identifier (#293)
Browse files Browse the repository at this point in the history
fixes #292
  • Loading branch information
Manisha15 authored Oct 2, 2023
1 parent 1b5fd16 commit abd790a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/foreman_fog_proxmox/proxmox_interfaces.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ def set_nic_identifier(nic, index)
_(format('Invalid proxmox NIC id on interface[%<index>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)
Expand Down

0 comments on commit abd790a

Please sign in to comment.