Tobias dpausp
2d1a82bcf0
Fix network config for recent NixOS releases
...
The old config style doesn't build anymore on the current
release NixOS 20.09. It stopped working some releases ago.
2021-01-25 00:19:34 +00:00
Brian Cain
0198c17c56
Merge pull request #11400 from rmunn/feature/arch-network-with-systemd-networkd
...
Use systemd-networkd on Archlinux guests
2020-07-16 14:34:54 -07:00
sophia
b511d23ae1
Refresh fstab when folders synced
2020-05-29 15:26:48 -04:00
sophia
a8c9d6c3d3
Fix tests
2020-05-29 10:27:42 -04:00
Robin Munn
6671cc6986
Use systemd-networkd on Archlinux guests
...
Fixes #11254
2020-02-15 15:42:35 +07:00
Dan Čermák
eb9b478951
Add ipv6 network config templates for SUSE based distributions
2019-08-09 17:23:46 +02:00
Tim Schumacher
fbffb41fc4
guests: Add unmodified alpine support plugin from maier
...
This has been available as `vagrant-alpine` in the plugin
repository so far.
2019-07-18 03:35:40 +02:00
Jose Luis Duran
5ab323733f
FreeBSD: Fix rcvar in network_static templates
...
The rcvar should be `defaultrouter` instead:
https://www.freebsd.org/doc/handbook/network-routing.html
2018-12-01 10:07:40 -02:00
Tino Breddin
5e642a513f
Add IPv6 network template for OpenBSD machines
2018-08-13 16:51:57 +02:00
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 e7dce43af3905a7a986ef6e3402bf6809ab90f16.
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 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