42 Commits

Author SHA1 Message Date
SilverWyrda
10090bf4dc Add support for predictable network interfaces names 2014-09-06 04:56:01 +02:00
Kostyantyn Fomin
102cb403e2 Fix network_dhcp template. 2014-08-08 16:00:30 -07:00
Kostyantyn Fomin
c43ab95f86 Fix Issue 4307: FreeBSD fix interface device names in /etc/rc.conf
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.
2014-08-06 14:10:05 -07:00
Daniel Parks
e7dce43af3 Fix mitchellh/vagrant#3860 by making sure post-up command never returns an error code. Deleting the default route won't magically start working after waiting N seconds. 2014-07-28 23:15:07 -07:00
Charles Strahan
38d749dc1f Add NixOS guest support 2014-05-18 04:14:33 -04:00
Mitchell Hashimoto
e7a5dc4f8e Revert "Merge pull request #3643 from cammoraton/rhel7-plugin-fixes"
This reverts commit 919d0b9f4b77cd9f2d2bd050fc2db5f00eeebabd, reversing
changes made to 924c47feb39354cf6ddb008a23a425c404c61446.
2014-05-06 13:26:44 -07:00
cammoraton
5345c1479a Fix configure networks and templates to work off polled interface names. 2014-05-06 08:44:36 -04:00
khiro
9edb299c0d Fix a network configuration issue of Fedora [GH-1997]
Support Predictable Network Interface Names.
2014-03-14 15:12:51 +09:00
Stoned Elipot
10169f8e99 Add NetBSD guest support 2014-01-14 07:25:35 +01:00
Seginoviax
12176515da Add funtoo guest support. Based heavily on https://github.com/mitchellh/vagrant/pull/1840 2013-12-31 17:33:10 -08:00
Seginoviax
a4c74ea87a Revert "Add funtoo guest support. Based heavily on https://github.com/mitchellh/vagrant/pull/1840"
This reverts commit 3559c0808607e90237c3f86c750404b97e7a531c.
2013-12-31 17:12:19 -08:00
Seginoviax
3559c08086 Add funtoo guest support. Based heavily on https://github.com/mitchellh/vagrant/pull/1840 2013-12-31 00:54:32 -08:00
Mitchell Hashimoto
4bf1808fde guests/debian: fix dhcp assigned default to work 2013-12-13 20:48:54 -08:00
Chris Thompson
2877d37a03 add ONBOOT and NM_CONTROLLED to redhat/network_static
Fixes private networking on Centos 6. It seems using Network Manager (NM_CONTROLLED) to change an interface while running is a bad idea. I'm not sure of any specifics though. This is the only way I could get it to work.
2013-12-08 20:58:43 -06:00
Isao Shimizu
8a3d7aae15 fix network interface name on fedora 2013-11-21 21:07:42 +09:00
Mitchell Hashimoto
3e995f6565 guests/fedora: use PEERDNS=no in static [GH-2111] 2013-09-03 11:10:28 -07:00
Tomoyuki Sahara
91db685295 more capabilities for OpenBSD guest 2013-08-28 13:12:09 +09:00
Mitchell Hashimoto
b2f32543d9 Merge pull request #1689 from philippfranke/master
guests/suse: Add ability to configure networks
2013-08-09 11:21:26 -07:00
Artur Roszczyk
c8cd47ff6d Make slaves connecting to first node 2013-08-03 22:53:31 +02:00
Artur Roszczyk
d8c10ad901 LVP for coreos guest support 2013-08-03 20:31:42 +02:00
Mitchell Hashimoto
ea89b43a06 Merge pull request #1738 from drogerschariot/master
Private Network bugfix in Fedora by switching p7p to eth
2013-07-23 19:40:33 -07:00
Alper Kanat
dbfce678bf fixed networking issues of Arch Linux with netctl changes 2013-05-24 00:19:31 +03:00
Drew Rogers
c4066fd865 Changed Device name to fix private_network bug
If you try and start fedora with a :private_network, it will fail saying the 'p7p1 device doesn't exist'. Fixed with changing device to eth.
2013-05-15 10:52:20 -03:00
Philipp Franke
c92ce0f4d0 Add OpenSUSE network settings 2013-05-03 12:39:26 +02:00
Seth Chisamore
7ed406629b static is not a valid BOOTPROTO value
Valid BOOTPROTO choices include: `none`, `bootp` and `dhcp`. In the case
of static network addresses `none` should be used.
2013-04-07 15:57:56 -04:00
Seth Chisamore
b89e593070 ensure static network changes don't update DNS
`PEERDNS=no` ensures the DNS settings (from /etc/resolv.conf) are not
overwritten when we do an ifdown/ifup cycle to apply Vagrant's
changes.
2013-04-07 15:50:13 -04:00
Mitchell Hashimoto
639a6a72ed Don't set the gateway for host only, this sometimes causes internet
breakge
2012-06-29 12:05:42 -07:00
Mitchell Hashimoto
0b3e703498 Add the gateway to hostonly network interfaces on Debian [GH-990] 2012-06-27 11:18:23 -07:00
Marco Monteiro
5bbabaf5a5 Fix multiple ethernet interface support on Arch Linux 2012-06-01 14:23:15 +02:00
Mitchell Hashimoto
268b13b799 Merge pull request #947 from justinlynn/add_dhcp_default_route_option
add workaround for ubuntu precise not properly loading routes from dhcp
2012-05-25 08:42:52 -07:00
Justin Lynn
736ed6b590 add workaround for ubuntu precise not properly loading routes 2012-05-24 11:53:46 -07:00
Mitchell Hashimoto
d3686465db Avoid unless 2012-05-06 14:47:52 -07:00
Justin Lynn
bf3d3b0245 add use_dhcp_assigned_default_route setting to allow for dhcp bridged interfaces which have a default route assigned by dhcp 2012-04-05 09:21:09 -07:00
Wayne E. Seguin
9990311f20 Added Fedora 16 handling. 2012-03-04 18:42:37 -05:00
Ian Downes
0f63171a4d Support for bridged networks in FreeBSD 2012-02-23 18:06:40 -08:00
Mitchell Hashimoto
f4ea1f800c Update Arch guest to the new networks API 2012-01-17 11:25:40 -08:00
Mitchell Hashimoto
3a2546907e Update Gentoo guest to new networks API 2012-01-17 11:17:12 -08:00
Mike Fiedler
a04fce880c Changes to enable rhel/centos-style bridged & hostonly networking 2012-01-04 21:39:36 -08:00
Mitchell Hashimoto
33551eca47 Delete default routes for bridged networking on coming up 2012-01-03 13:22:33 -08:00
Mitchell Hashimoto
97f7fa633d Re-implement how networking is done internally 2012-01-02 19:51:38 -08:00
Mitchell Hashimoto
c48a31d6bd Fix template paths for other guests 2011-12-31 19:08:56 -08:00
Mitchell Hashimoto
474ac3a63d Enabling bridged networks on Debian 2011-12-31 11:53:04 -08:00