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
a8c9d6c3d3
Fix tests
2020-05-29 10:27:42 -04:00
Jeff Bonhag
1678cfa757
Fix #11439 : Quote each exported directory ( #11441 )
...
This commit changes the Darwin NFS template for /etc/exports to put each
exported directory in quotes.
This fixes an issue with directory names that have spaces in them.
Quotes were chosen (rather than escaping the spaces) in order to match
the template for Linux NFS exports.
2020-03-09 16:02:03 -04:00
Robin Munn
25b13b2346
Update tests to expect new Arch network config
2020-02-15 20:25:38 +07:00
Jeff Bonhag
c6ee1049aa
Darwin: put each NFS export on its own line ( #11216 )
...
This commit introduces a Darwin-specific template for NFS exports. This is almost identical to the standard BSD template except it puts each NFS export on its own line.
This resolves NFS issues discovered in macOS Catalina.
2019-11-25 15:41:05 -05:00
Dan Čermák
eb9b478951
Add ipv6 network config templates for SUSE based distributions
2019-08-09 17:23:46 +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
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
Brian Cain
78f317f55a
Merge pull request #9261 from vStone/bugfix/gentoo-static-ip-with-ifplugd
...
Disable if/netplugd when setting up a static ip on a gentoo guest using openrc.
2018-02-15 13:13:46 -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
Zachary Flower
968fbb2399
Update init command unit tests to reflect new --template option
2017-11-17 12:02:23 -07: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
1849990517
Fix tests
2016-07-18 21:31:25 -04:00
Seth Vargo
233120eebd
templates/general: Fix failing tests
2016-06-06 12:34:45 -04:00
Ryan Heffernan
d7714f058d
Added basic unit test
2016-04-30 13:22:52 -07: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
0de0f51e8a
fix tests
2015-07-06 17:44:40 -06:00
Seth Vargo
55e4308e22
Add gateway to networks + template tests
2015-05-30 12:35:10 -07:00