Skip to content

Commit

Permalink
fix: remove unneccessary lines from zonenicdel
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkProminic authored Dec 12, 2023
1 parent 8885044 commit 227ab2c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/vagrant-zones/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1078,13 +1078,11 @@ def zonecfgnicconfig(uii, opts)

## zonecfg function for for Networking
def zonecfgnicconfigdelete(uii, opts)
allowed_address = allowedaddress(uii, opts)
vnic_name = vname(uii, opts)
config = @machine.provider_config
uii.info(I18n.t('vagrant_zones.vnic_conf_del'))
uii.info(" #{vnic_name}")
uii.info(" #{vnic_name}")
if opts[:provisional]
execute(false, %(#{@pfexec} zonecfg -z #{@machine.name} remove net physical=#{vnic_name}))
execute(false, "#{@pfexec} zonecfg -z #{@machine.name} remove net physical=#{vnic_name}")
end
end

Expand Down

0 comments on commit 227ab2c

Please sign in to comment.