Proxmox VE 复制虚拟机

Proxmox VE 没有clone选项.有点不方便.
可以cp一个现有的虚拟机出来.
修改名称后.

cp /etc/qemu-server下的conf文件.出一份后修改

vm1:/vmimg/images# vim /etc/qemu-server/102.conf

ostype: other
memory: 512
sockets: 1
onboot: 1
name: debian2
vlan0: e1000=7A:35:48:58:5C:6A
bootdisk: scsi0
scsi0: vmimg:102/vm-102-disk-1.raw
localtime: 1
boot: c
freeze: 0
cpuunits: 1000
acpi: 1
kvm: 1

vm1:/vmimg/images# vim /etc/qemu-server/104.conf
ostype: other
memory: 512
sockets: 1
onboot: 1
name: debian3
vlan0: e1000=7A:35:48:58:5C:7A
bootdisk: scsi0
scsi0: vmimg:104/vm-104-disk-1.raw
localtime: 1
boot: c
freeze: 0
cpuunits: 1000
acpi: 1
kvm: 1

vm1:/vmimg/images# qm list
VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID
101 d64_1 running 512 12.00 2554
102 debian2 running 512 12.00 11992
103 w running 256 12.00 3658
104 debian3 running 512 12.00 12683

你可能感兴趣的:(职场,休闲,proxmox,复制虚拟机)