kvm克隆
Kvm克隆: 克隆前需要关闭kvm虚拟机 [root@super67 ~]# virt-clone -o ubuntu16 -n ubuntu16-1 -f /var/lib/libvirt/images/ubuntu16-1.img Cloning unbuntu16.raw | 107 B 00:00 Clone 'ubuntu16-1' created successfully. 查看克隆出来的配置文件: [root@super67 ~]# ll /etc/libvirt/qemu/ total 20 drwxr-xr-x 2 root root 4096 Sep 4 10:31 autostart drwx------ 3 root root 4096 Sep 4 13:43 networks -rw------- 1 root root 2297 Sep 4 13:58 ubuntu16-1.xml -rw------- 1 root root 2290 Sep 4 13:13 ubuntu16.xml -rw------- 1 root root 2574 Sep 4 10:32 www.linux1.cn.xml 对比和原来的区别: [root@super67 ~]# cd !$ cd /etc/libvirt/qemu/ [root@super67 qemu]#