8GB RAM
2GB swap
Have to use DEBUG build, where we have debug macro
sudo useradd -m -d /var/ztest -g staff -s /bin/bash ztest # add password for remote ssh sudo passwd ztest |
echo "ztest ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers.d/ztest |
apt update apt install system-test-nettest testrunner python |
Zones must be created according to the file:
/opt/net-tests/config/ip_forwarding.config
Currently accepted names: cz, sz, rz
Important! Zones must be in the / zones directory
sudo zfs create -o mountpoint=/zones rpool/zones |
The zone configuration should be considered for the cz zone, for other zones, the setting is the same:
cat>cz.cfg <<EOT create set zonepath=/zones/cz set autoboot=true set ip-type=exclusive commit exit EOT sudo zonecfg -z cz -f cz.cfg |
sudo zoneadm -z cz install sudo zoneadm -z cz boot |
The zones have not configured net, need to install it from the global zone.
apt download socat |
In the current version, the name of the downloaded file is socat_1.7.3.1-2+deb9u1+dilos2_solaris-i386.deb
sudo apt -y -o Dir = /zones/cz/root update sudo apt -y -o Dir = /zones/cz/root upgrade sudo dpkg -i --root = /zones/cz/root socat_1.7.3.1-2+deb9u1+dilos2_solaris-i386.deb |
sudo /opt/net-tests/bin/nettest |
Wait for several minutes and have found full logs at:
/var/tmp/test_results/<ISO TIME>