Compare commits

3 Commits

Author SHA1 Message Date
83e8e0372c Refactor bash 2025-11-26 09:32:44 +07:00
03abb3ebae Structurized 2025-11-26 09:29:51 +07:00
00dd59ffd8 Remove hosting info, add vmundefine script 2025-11-26 09:28:19 +07:00
5 changed files with 21 additions and 11 deletions

Binary file not shown.

1
bash/memlist Normal file
View File

@@ -0,0 +1 @@
antonkaretnikov alexanderboliubysh dorjisandakov sergeymoskalenko katerinenikitina kirillsavchenko nikitamochalov danilreutov anastasiatsygankova egorkaikov stepanyankov daniilivlev mariaborzykh irinakatalanina mariagerasimenko evgeniatroshinovskaya marinerusskikh vsevolodignatenko konstantinbekbauov egorparkhomenko danilmatveyev

10
bash/vmcloning-init Normal file
View File

@@ -0,0 +1,10 @@
#!/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

10
bash/vmundefine Normal file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/bash
prefix="hosting_"
postfix="_vm"
for var in $(cat memlist)
do
name=$prefix$var$postfix
virsh undefine $name
done

View File

@@ -1,11 +0,0 @@
#!/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 danilmatveyev"
postfix="_vm"
for var in $vmlist
do
name=$prefix$var$postfix
virt-clone --original generic_hosting --name $name --auto-clone
done