Files
admin/bash/vmcloning-init
2025-11-26 09:32:44 +07:00

11 lines
175 B
Bash

#!/usr/bin/bash
prefix="hosting_"
postfix="_vm"
for var in $(cat memlist)
do
name=$prefix$var$postfix
virt-clone --original generic_hosting --name $name --auto-clone
done