Commit graph

14 commits

Author SHA1 Message Date
Chris Roberts
f4d9f75878
Fix arch guest networking setup
Updates network configuration capability in Arch Linux guest to
properly handle NetworkManager. Extracts NetworkManager setup
into reusable module.
2025-04-08 08:56:26 -07:00
Chris Roberts
75726b112a
Update RHEL guest networking
Recent versions of RHEL based guests have updated network configuration.
Detect the correct location of the network configuration files, and
configure the guest based on the detected location.

Fixes #13616
2025-03-19 17:42:11 -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
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
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
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
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
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
Mike Fiedler
a04fce880c Changes to enable rhel/centos-style bridged & hostonly networking 2012-01-04 21:39:36 -08:00
Mitchell Hashimoto
c48a31d6bd Fix template paths for other guests 2011-12-31 19:08:56 -08:00