You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 9, 2021. It is now read-only.
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "boxcutter/ubuntu1404-desktop"
config.vm.network "public_network"
end
Routing table with route -n after vagrant up:
vagrant@vagrant:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.100.200.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
The box is missing 0.0.0.0 destination. vagrant reload or reboot fixes this issue. If provisioning is required, default gateway should be fixed with explicit provisioning script. Here is my workaround:
Example
Vagrantfile
:Routing table with
route -n
aftervagrant up
:The box is missing
0.0.0.0
destination.vagrant reload
orreboot
fixes this issue. If provisioning is required, default gateway should be fixed with explicit provisioning script. Here is my workaround:Script contents:
This behaviour exists only with
boxcutter/ubuntu1404-desktop
.ubuntu/trusty64
box works as expected. Probably related to NetworkManager.It would be nice to fix it in box itself.
The text was updated successfully, but these errors were encountered: