一键生成KVM虚拟机

#!/bin/bashexport LANG=C. /etc/init.d/functionsCONF_DIR=/etc/libvirt/qemuIMG_DIR=/var/lib/libvirt/imagesfunction create_vm(){if [ -e $/${1}.img ];the

#Shell