Create Multiple full clones

300cpilot

Active Member
Mar 24, 2019
104
4
38
I have a need to create over 100 full clones at a time. Is their a way to automate the process? This one at a time is killing me.
Thanks!
 
Hi,

no there is no function for this.
But you can use a bash loop like this.

Code:
for VMID in {100..200}; do pct clone 1000 $VMID <...>; done;
 
  • Like
Reactions: Tmanok
use the '--full' switch of `pct clone` - see `man pct`

Hope this helps!
 
  • Like
Reactions: Tmanok

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!