Skip to content

Commit

Permalink
fix: unassisted dhcp
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkProminic committed Feb 6, 2023
1 parent 8a355cf commit f3faed4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/vagrant-zones/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ def get_ip_address(uii)
zlogin_read.expect(/\n/) { zlogin_write.printf(command) }
zlogin_read.expect(/\n/)
ip = (zlogin_read.expect(/\n/).to_s.match(/((?:[0-9]{1,3}\.){3}[0-9]{1,3})/))
p ip
Process.kill('HUP', pid)
end
return ip[0] unless ip[0].empty? || ip[0].nil?
Expand Down

0 comments on commit f3faed4

Please sign in to comment.