virtbuilder、oz

virt-builder

yum install libguestfs-tools-c -y
cd /var/lib/libvirt/qemu/ ; /usr/bin/virt-builder centos-7.1 --format raw --size 50G
virt-install --name centos --ram 1028 --vcpus=2 --disk path=/var/lib/libvirt/qemu/centos-7.1.img --import
virt-builder --print-cache [--verbose]
virt-builder --delete-cache [--verbose]
virt-builder --cache-all-templates [--verbose]

oz

yum install oz libguestfs-tools -y
man virsh
man virt-builder
virt-builder --note <guest>
WARNING: No any other purpose,keeping reminded! So sorry to offended,if necessary, contact me and I do change what I had done to protect your privileges!
原文地址:https://www.cnblogs.com/MimiSnowing/p/15602742.html