X Xgamer911 New Member May 7, 2022 2 0 1 May 7, 2022 #1 I just installed Proxmox and I want to clone a template 20 times to create 20 different VMs. Is there a way to do this?
I just installed Proxmox and I want to clone a template 20 times to create 20 different VMs. Is there a way to do this?
E egoistdream Active Member Dec 11, 2018 10 1 43 35 May 7, 2022 #2 Check if this help you if you want to command line in bulk fashion: http://retheesh.blogspot.com/2013/11/server-provisioning-de-provisioning-on.html
Check if this help you if you want to command line in bulk fashion: http://retheesh.blogspot.com/2013/11/server-provisioning-de-provisioning-on.html
X Xgamer911 New Member May 7, 2022 2 0 1 May 7, 2022 #3 egoistdream said: Check if this help you if you want to command line in bulk fashion: http://retheesh.blogspot.com/2013/11/server-provisioning-de-provisioning-on.html Click to expand... Kind of. That script will create a number of servers. However using that script, I figured out the command to do it. ServerVM - Server hostname 104 - is my template From shell: pvesh create nodes/ServerVM/qemu/104/clone --newid $VM_ID --full --name=$VM_NAME
egoistdream said: Check if this help you if you want to command line in bulk fashion: http://retheesh.blogspot.com/2013/11/server-provisioning-de-provisioning-on.html Click to expand... Kind of. That script will create a number of servers. However using that script, I figured out the command to do it. ServerVM - Server hostname 104 - is my template From shell: pvesh create nodes/ServerVM/qemu/104/clone --newid $VM_ID --full --name=$VM_NAME
bbgeek17 Distinguished Member Nov 20, 2020 4,537 1,298 198 Blockbridge www.blockbridge.com May 7, 2022 #4 n=104;for i in {1..20};do vmname=$(($n + $i)) ; echo qm clone 104 $vmname --full true --name vm$vmname;done Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
n=104;for i in {1..20};do vmname=$(($n + $i)) ; echo qm clone 104 $vmname --full true --name vm$vmname;done Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox