Skip to content

Commit

Permalink
update 0004_start_test.py - use /64 instead of /10
Browse files Browse the repository at this point in the history
  • Loading branch information
Defenso-QTH committed Nov 18, 2024
1 parent 9c2416e commit 285e044
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/functional_tests/0004_start_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ def test_03_create_and_start_nobridge_vnet_jail(release, jail, invoke_cli, nobri
'create', '-r', release, '-n', jail.name,
f'ip4_addr=lo0|{nobridge_jail_ip}', 'boot=on', 'vnet=on',
'interfaces=vnet0:none', 'vnet_default_interface=none',
'ip6_addr=vnet0|fe80::2/10', 'defaultrouter6=none',
'ip6_addr=vnet0|fe80::2/64', 'defaultrouter6=none',
'defaultrouter=none',
f'exec_poststart="ifconfig vnet0.$(jls -j ioc-{jail.name} jid) inet6 fe80::1/10 && route add -6 fe80::2%vnet0.$(jls -j ioc-{jail.name} jid) -iface vnet0.$(jls -j ioc-{jail.name} jid)"'
f'exec_poststart="ifconfig vnet0.$(jls -j ioc-{jail.name} jid) inet6 fe80::1/64 && route add -6 fe80::2%vnet0.$(jls -j ioc-{jail.name} jid) -iface vnet0.$(jls -j ioc-{jail.name} jid)"'
])

assert jail.exists is True
Expand Down

0 comments on commit 285e044

Please sign in to comment.