Files
admin/vmscript
Maksytka ec9003865c Add vm replication bash script
Assuming general_hosting is preconfigured for your needs.
2025-11-16 08:07:22 +07:00

12 lines
495 B
Bash

#!/usr/bin/bash
prefix="hosting_"
vmlist="antonkaretnikov alexanderboliubysh dorjisandakov sergeymoskalenko katerinenikitina kirillsavchenko nikitamochalov danilreutov anastasiatsygankova egorkaikov stepanyankov daniilivlev mariaborzykh irinakatalanina mariagerasimenko evgeniatroshinovskaya marinerusskikh vsevolodignatenko konstantinbekbauov egorparkhomenko"
postfix="_vm"
for var in $vmlist
do
name=$prefix$var$postfix
virt-clone --original generic_hosting --name $name --auto-clone
done