cat << 'EOF' > kvmcentos7.sh
#!/bin/bash

yum install -y qemu-kvm qemu-img virt-manager libvirt libvirt-python libvirt-client virt-install virt-viewer bridge-utils
systemctl enable libvirtd
systemctl start libvirtd
lsmod | grep kvm
EOF
chmod +x kvmcentos7.sh
./kvmcentos7.sh