How to prepare a VM for tests with zones
Use this guide. Create new vm. Setup VM with:
CPU - 4
Memory - 8GB
Hard disk - 100GB
Hard disk - 8GB
Hard disk - 8GB
Hard disk - 8GB
Have to use DEBUG build, where we have debug macro
Create new user for test:
sudo useradd -m -d /var/ztest -g staff -s /bin/bash ztest # add password for remote ssh sudo passwd ztest sudo su echo "ztest ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers.d/ztest
Update source.list and update:
//add this to /etc/apt/sources.list
deb-src http://apt2.dilos.org/dilos du2-unstable main contrib non-free deb http://apt2.dilos.org/dilos dg2-unstable main contrib non-free deb http://apt2.dilos.org/dilos du2-unstable main contrib non-free #deb https://apt2.dilos.org/dilos dgdbg-unstable main contrib non-free
Install
ca-certificates
Update pkg os-upgrade and os upgrade and reboot on new BE:
Reboot system.
Create new etherstub for internal network in vm:
Install zone for dhcp. dhcp will be use for another zones:
Now login in zone and setting dhcp zone:
Now, you must upgrade on debug build. Comment # dg2 and recommnet dgdbg-unstable:
Login server. Use login ztest: