The rcvar should be `defaultrouter` instead: https://www.freebsd.org/doc/handbook/network-routing.html
7 lines
199 B
Plaintext
7 lines
199 B
Plaintext
#VAGRANT-BEGIN
|
|
ifconfig_<%= options[:device] %>="inet <%= options[:ip] %> netmask <%= options[:netmask] %>"
|
|
<% if options[:gateway] %>
|
|
defaultrouter="<%= options[:gateway] %>"
|
|
<% end %>
|
|
#VAGRANT-END
|