https://github.com/mitchellh/vagrant/issues/4307 Fix details: Pass network interface name to template renderer and use it in static and dhcp templates to render /etc/rc.conf entries. modified: plugins/guests/freebsd/cap/configure_networks.rb modified: templates/guests/freebsd/network_dhcp.erb modified: templates/guests/freebsd/network_static.erb Verification scenario: Check if /etc/rc.conf contains vtnet entries when paravirtualized NIC devices are used in FreeBSD guest.
4 lines
111 B
Plaintext
4 lines
111 B
Plaintext
#VAGRANT-BEGIN
|
|
ifconfig_<%= ifname %>="inet <%= options[:ip] %> netmask <%= options[:netmask] %>"
|
|
#VAGRANT-END
|