virt-builder、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>
posted @ 2021-11-25 15:00  素丶素  阅读(92)  评论(0编辑  收藏  举报