Create Multiple full clones

300cpilot

Well-Known Member
Mar 24, 2019
115
6
58
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