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 b24b784 commit 1501a9a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/vagrant-zones/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,11 @@ def vname(uii, opts)
def get_ip_address(uii)
config = @machine.provider_config
name = @machine.name
lcheck = config.lcheck
lcheck = ':~' if config.lcheck.nil?
alcheck = config.alcheck
alcheck = 'login:' if config.alcheck.nil?
pcheck = 'Password:'
@machine.config.vm.networks.each do |_adaptertype, opts|
ip = nil
if opts[:dhcp4] && opts[:managed]
Expand Down

0 comments on commit 1501a9a

Please sign in to comment.