MacOS needs more IP addresses to run the system tests

The launchd script only counted up to 8 whereas ifconfig.sh went all
the way up to 10, and even a bit further than that.

(cherry picked from commit 29a3e77425)
This commit is contained in:
Tony Finch 2022-03-15 17:01:34 +00:00
parent 83b7563111
commit 541222043d

View file

@ -11,8 +11,17 @@
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
for ns in 1 2 3 4 5 6 7 8
ifup() {
/sbin/ifconfig lo0 10.53.$1.$3 alias
/sbin/ifconfig lo0 inet6 fd92:7065:b8e:${2}ff::${3} alias
}
for ns in 1 2 3 4 5 6 7 8 9 10
do
/sbin/ifconfig lo0 10.53.0.$ns alias
/sbin/ifconfig lo0 inet6 fd92:7065:b8e:ffff::$ns alias
ifup 0 ff $ns
done
for ns in 1 2
do
ifup 1 99 $ns
ifup 2 00 $ns
done