Chris Roberts
04ec3c26d7
Merge pull request #8735 from jhosteny/fix/debian_net_tools_deprecation_dhcp
...
Fix #8730 . Use 'ip route' in lieu of 'route' in debian dhcp template
2018-02-23 09:41:37 -08:00
Jan Vansteenkiste
e5bebb0b9f
Disable (if/net)plugd on gentoo/openrc. Fixes #9260 .
...
When ifplugd is installed, the process is backgrounded and we get the
wrong return value.
2017-12-14 06:02:28 +01:00
Evgeny Sinelnikov
3dd90aa955
Add ALT Linux platforms guest detection and support
...
* ALT Linux platforms is an original rpm based distribution
forked as Mandrake Russian Edition Spring at 2001 year
* Distributions of ALT Linux use etcnet (https://www.altlinux.org/Etcnet ) as
internal network configuration system needs for configure_networks support
2017-07-03 00:25:33 +03:00
Joe Hosteny
0b305cd4ee
Fix #8730 . Use 'ip route' in lieu of 'route' in debian dhcp template
2017-06-28 13:18:51 -04:00
Chris Roberts
2f5e15da55
Fetch first network device and pass to template for rendering
2017-05-10 12:44:37 -07:00
Chris Roberts
414184b76b
guests/rhel: Update network configuration
...
Properly detects NetworkManager on guest as well as devices controlled
by NetworkManager. Provides configuration option to enable/disbale
NetworkManager control on devices.
2017-04-26 13:15:33 -07:00
Simon Detheridge
3a3216ae0c
gentoo/guest: #8406 support systemd when configuring net
2017-03-24 16:11:16 +00:00
Chris Roberts
d862133038
Remove hardcoded interface name from template
2017-03-06 14:18:26 -08:00
Seth Vargo
ccc40eb19d
guests/arch: compute netmask
...
Arch expects /24 for netmask, but users usually specify as a netmask
block like 255.255.255.0. This automatically converts it.
2016-07-18 21:12:56 -04:00
Seth Vargo
084d62b5a6
guests/fedora: Move as a child of redhat
...
Fedora should have been a child of redhat for awhile now...
2016-07-18 21:12:54 -04:00
Seth Vargo
b621cc44fb
guests/rhel: Switch to predicable network interface names
2016-07-18 21:12:53 -04:00
Seth Vargo
caafb936f0
guests/gentoo: Use predictable network interface names
2016-07-18 21:12:53 -04:00
Seth Vargo
10b12ce393
guests/arch: Search for FQDN hostname
2016-07-18 21:12:51 -04:00
Seth Vargo
3eebff5bf3
guests/funtoo: Behave like a gentoo guest
2016-07-18 21:12:51 -04:00
Seth Vargo
94af771b71
guests/suse: Configure networks in one command
...
This also uses the new predictable network naming.
2016-06-06 11:58:41 -04:00
Seth Vargo
0bdf6f5ad4
guests/slackware: Configure networks in one command
...
This also switches to using new predictable naming for networks.
2016-06-06 11:58:40 -04:00
Seth Vargo
2b08151977
guests/freebsd: Configure predictable networks in a single command
...
This commit refactors the freebsd networking to:
1. Use predictable network naming
2. Properly handle DHCP vs static networks on up and reload [GH-5852]
3. Perform all networking configuration in a single command to prevent
partial configuration.
2016-06-06 11:58:29 -04:00
Seth Vargo
d9b8352a58
guests/debian: Use predictable naming for network configuration
2016-06-06 11:58:28 -04:00
Ryan Heffernan
d7714f058d
Added basic unit test
2016-04-30 13:22:52 -07:00
Ryan Heffernan
76e3ad988f
Adding static IPv6 address support for Fedora
2016-04-30 12:27:48 -07:00
Seth Vargo
f95b7914f7
Merge pull request #6515 from oliviermeurice/slack_net_conf
...
Slack net conf
2015-11-18 16:04:17 -08:00
Olivier Meurice
fd4c5f02d3
Add network configuration plugin template files for Slackware Linux
2015-11-12 14:33:37 +01:00
Duncan Mac-Vicar P
a21d5be705
SUSE-flavored systems uses STARTMODE and not ONBOOT
...
As described in /etc/sysconfig/network/ifcfg.template
Static template was already using the right one, but the dhcp configuration seems
to be copied from a Fedora/Redhat template.
This fixes the issue that the interface does not come up after reboot.
2015-11-08 16:09:04 +01:00
Mitchell Hashimoto
ec0b0fb7f9
providers/virtualbox: IPv6 host only networks
2015-09-30 17:23:25 -07:00
Mitchell Hashimoto
9df6a5aaae
Merge pull request #5540 from philsc/master
...
Make sure debian net post-up never returns an error code.
2015-07-06 16:27:52 -06:00
Seth Vargo
55e4308e22
Add gateway to networks + template tests
2015-05-30 12:35:10 -07:00
Marcus Young
527e06c690
Adding support for gateway in RHEL/CentOS ifcfg script
2015-05-30 12:35:09 -07:00
Philipp Schrader
29040b3920
Make sure debian net post-up never returns an error code.
...
Inspired by e7dce43af3
.
I'm using this configuration in my Vagrantfile:
config.vm.network :public_network, use_dhcp_assigned_default_route: true
Every once in a while the secondary network interface would not come
up properly and cause the init scripts to wait for ~ 3 minutes before
giving up and continue with booting.
2015-03-30 12:47:54 -07:00
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 919d0b9f4b
, reversing
changes made to 924c47feb3
.
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 3559c08086
.
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