4 mount -t devpts -o "rw,noexec,nosuid,gid=5,mode=0620" devpts /dev/pts || true
5 mount -t tmpfs -o "rw,noexec,nosuid,size=10%,mode=0755" tmpfs /run
6 cp /tmp/openvpp-testing/resources/tools/iperf/iperf_client.py /run
7 mount -t tmpfs -o "rw,noexec,nosuid,size=10%,mode=0755" tmpfs /tmp
8 mkdir -p /tmp/openvpp-testing/resources/tools/iperf/
9 mv /run/iperf_client.py /tmp/openvpp-testing/resources/tools/iperf/
10 mount -t hugetlbfs -o "rw,relatime,pagesize=2M" hugetlbfs /dev/hugepages
11 echo Y > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode
13 # Qemu virtio-net-pci mgmt
14 ip address add dev ens3 10.0.2.15/24
15 ip link set dev ens3 up
16 ip route add default via 10.0.2.2
18 # Qemu virtio-net-pci vhost1
19 ip address add dev ens6 ${ip_address_l}
20 ip link set dev ens6 up
21 ip route add ${ip_route_r} via ${ip_address_r}