From 15e5dbf3239b69a0eec24a7a86818d541ff5952e Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 2 Oct 2014 16:45:08 -0400 Subject: freebsd: Use the proper virtio FreeBSD network interface name. --- tests/unittests/test_distros/test_netconfig.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/unittests/test_distros/test_netconfig.py b/tests/unittests/test_distros/test_netconfig.py index ed997a1d..fbdb7b3f 100644 --- a/tests/unittests/test_distros/test_netconfig.py +++ b/tests/unittests/test_distros/test_netconfig.py @@ -223,8 +223,8 @@ NETWORKING=yes self.assertIn('/etc/rc.conf', write_bufs) write_buf = write_bufs['/etc/rc.conf'] expected_buf = ''' -ifconfig_eth0="192.168.1.5 netmask 255.255.255.0" -ifconfig_eth1="DHCP" +ifconfig_vtnet0="192.168.1.5 netmask 255.255.255.0" +ifconfig_vtnet1="DHCP" defaultrouter="192.168.1.254" ''' self.assertCfgEquals(expected_buf, str(write_buf)) -- cgit v1.2.3