summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-10-02 16:45:08 -0400
committerScott Moser <smoser@ubuntu.com>2014-10-02 16:45:08 -0400
commit15e5dbf3239b69a0eec24a7a86818d541ff5952e (patch)
treec611a2e62f37021fbaa52136931402ac31ee98aa /tests
parentdc626ee8750e79518c16769a778e143461d33dc4 (diff)
downloadvyos-cloud-init-15e5dbf3239b69a0eec24a7a86818d541ff5952e.tar.gz
vyos-cloud-init-15e5dbf3239b69a0eec24a7a86818d541ff5952e.zip
freebsd: Use the proper virtio FreeBSD network interface name.
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_distros/test_netconfig.py4
1 files changed, 2 insertions, 2 deletions
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))