]>
git.proxmox.com Git - pve-common.git/blob - test/etc_network_interfaces/t.create_network.pl
1 save
('proc_net_dev', <<'/proc/net/dev');
8 my $ip = '192.168.0.2';
9 my $nm = '255.255.255.0';
10 my $gw = '192.168.0.1';
12 $config->{ifaces
}->{eth1
} = {
22 expect load
('loopback') . <<"CHECK";
23 source-directory interfaces.d
25 iface eth0 inet manual
28 iface eth1 inet static
34 iface vmbr0 inet static
54 $config->{ifaces
}->{eth1
} = {
60 families
=> ['inet6'],
65 expect load
('loopback') . <<"CHECK";
66 source-directory interfaces.d
68 iface eth0 inet manual
71 iface eth1 inet6 static
77 iface vmbr0 inet static