diff --git a/plugins/guests/debian/cap/change_host_name.rb b/plugins/guests/debian/cap/change_host_name.rb index 877416cc3..8f31341b7 100644 --- a/plugins/guests/debian/cap/change_host_name.rb +++ b/plugins/guests/debian/cap/change_host_name.rb @@ -32,6 +32,10 @@ module VagrantPlugins if test -f /etc/init.d/hostname.sh; then /etc/init.d/hostname.sh start || true fi + if test -x /sbin/dhclient ; then + /sbin/dhclient -r + /sbin/dhclient -nw + fi EOH end end