Skip to content

Commit

Permalink
fix: a second time
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkProminic committed Jan 9, 2023
1 parent 0da25a2 commit e806bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant-zones/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ def zonenicstpzloginsetup(uii, opts, config)

## This setups the Netplan based OS Networking via Zlogin
def zoneniczloginsetup_netplan(uii, opts, mac)
zlogin(uii, 'rm -rf /etc/netplan/*.yaml') if opts[:nic_number].zero?
zlogin(uii, 'rm -rf /etc/netplan/*.yaml') if (opts[:nic_number]).zero?
ip = ipaddress(uii, opts)
vnic_name = vname(uii, opts)
servers = dnsservers(uii, opts)
Expand Down

0 comments on commit e806bd6

Please sign in to comment.