CentOS7.5で確認
# virt-clone –original 元仮想マシン名 –name 新仮想マシン名 –file 新規ファイル
# virsh list –all
Id 名前 状態
—————————————————-
1 win2016 実行中
2 rhel7.1 実行中
3 mizumushi75 実行中
8 dango74 実行中
– gomashio72 シャットオフ
– ikageso24 シャットオフ
– win10 シャットオフ
# ls /var/lib/libvirt/images/
dango74.qcow2 ikageso24.qcow2 rhel7.1.qcow2 win2016.qcow2
gomashio72.qcow2 mizumushi75.qcow2 win10.qcow2
# virt-clone –original win10 –name gomihiroi10 –file /var/lib/libvirt/images/gomihiroi10.qcow2
割り当て中 ‘gomihiroi10.qcow2’ | 20 GB 00:52
‘gomihiroi10’ のクローニングに成功しました。
# ls /var/lib/libvirt/images/
dango74.qcow2 gomihiroi10.qcow2 mizumushi75.qcow2 win10.qcow2
gomashio72.qcow2 ikageso24.qcow2 rhel7.1.qcow2 win2016.qcow2
#
# virsh list –all
Id 名前 状態
—————————————————-
1 win2016 実行中
2 rhel7.1 実行中
3 mizumushi75 実行中
8 dango74 実行中
– gomashio72 シャットオフ
– gomihiroi10 シャットオフ
– ikageso24 シャットオフ
– win10 シャットオフ
#
# virsh dumpxml 仮想マシン名 | grep mac
# virsh dumpxml win10 | grep mac
<type arch=’x86_64′ machine=’pc-i440fx-rhel7.0.0′>hvm</type>
<mac address=’52:54:00:9b:b3:5f‘/>
# virsh dumpxml gomihiroi10 | grep mac
<type arch=’x86_64′ machine=’pc-i440fx-rhel7.0.0′>hvm</type>
<mac address=’52:54:00:0d:f9:a4‘/>
#
あとはIP変更してね。