Skip to content

Commit

Permalink
fix: dhcp, gatherip, root home
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkProminic authored Feb 6, 2023
1 parent 22c546a commit a6458be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/vagrant-zones/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1207,8 +1207,7 @@ def zloginboot(uii)
zlogin_write.printf("\n")
if zlogin_read.expect(/#{lcheck}/)
uii.info(I18n.t('vagrant_zones.automated-zlogin-root'))
zlogin_write.printf("sudo su\n")
zlogin_write.printf("cd ~\n")
zlogin_write.printf("sudo su -\n")
sleep(config.login_wait)
Process.kill('HUP', pid)
end
Expand Down

0 comments on commit a6458be

Please sign in to comment.