Rhel7 virtual machine installation
2. Select the lowest of the installation, automatically partition
3. Modify the ip address
Set the card name eth0
Set ip
Close and disable NetworkManager. ## will affect the network configuration, DNS, etc.
systemctl stop NetworkManager
systemctl disabled NetworkManager
Yum configuration source
Install some basic software
yum insatall -y vim lftp net-tools ## network tools, does not install ifconfig
Close selinux
Shut down and disable the firewall
systenmcel stop firewalld
systemctl disabled firewalld
Add a new resolve
172.25.0.250 foundation.ilt.examplecom
## also add physical machine parsing
Clean up temporary files and cache
### If you delete the master virtual machine management, you can not use this command
virt-sysprep -d rhel7.3 ## -d behind the increase is the name of the master disc
Because each boot will generate some temporary files, cache files, etc. If each boot will generate some temporary files, cache files, etc., if not cleared, each snapshot will be some things that snapshot becomes large.
Master Snapshot
qemu-img create -f qcow2 -b rhel7.3.qcow2-b rhel7.3-dd.qcow2 pp1