Удалить vmsnapshot

This commit is contained in:
2025-11-20 08:44:43 +07:00
parent c0b4012ac3
commit 1016bb9b03

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
virsh snapshot-create-as $name $(date --utc +%Y-%m-%d) --disk-only --atomic
done