bash scripts to test 'centos-scripts'
Please read/update the parameters section.
- Install a fresh centos (in directory /opt/script-tester, named CentOS 64-bit) => Note: you should have the following path to your virtual machine /opt/script-tester/CentOS 64-bit/CentOS 64-bit.vmx
- Get the centos-scripts
- Install prerequistes
- Shutdown computer
bash tester.bash
That will :
- create all the 'centos-scripts' vmware.
- launch them
Now, execute your server installation script in each vmware:
# First load eth1 (eth0 still have the template mac address).
dhclient eth1
# Then, execute scripts:
cd /opt/centos-scripts
bash setup.sh # here choose your srv-xxx