test: list ifaces: fix indentation of expected structure

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-03-13 11:07:17 +01:00
parent afd50f0d4a
commit f110671de4

View File

@ -16,10 +16,14 @@ eth100:
/proc/net/dev /proc/net/dev
my %wanted = ( my %wanted = (
vmbr0 => { address => '192.168.1.2/24', vmbr0 => {
gateway => '192.168.1.1', address => '192.168.1.2/24',
address6 => 'fc05::1:1/112'}, gateway => '192.168.1.1',
vmbr1 => { address => '10.0.0.5/24'} address6 => 'fc05::1:1/112',
},
vmbr1 => {
address => '10.0.0.5/24',
},
); );
save('interfaces', <<"/etc/network/interfaces"); save('interfaces', <<"/etc/network/interfaces");