Delete Ansible support
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,3 +1,3 @@
|
||||
*~* # - Ignore temp vim files
|
||||
*~* # - Ignore temp vim files
|
||||
*~
|
||||
~*
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
prefix="hosting_"
|
||||
postfix="_vm"
|
||||
hostlist=""
|
||||
|
||||
for var in $(cat ../../memlist)
|
||||
cat /dev/null > ../../hostlist
|
||||
|
||||
for var in $(grep hosting ../../memlist)
|
||||
do
|
||||
echo $var:$(virsh domifaddr $prefix$var$postfix --full --source arp | awk '/192.168.0./ {print $4}' | cut -d "/" -f 1)
|
||||
echo $var:$(virsh domifaddr $var --full --source arp | awk '/192.168.0./ {print $4}' | cut -d "/" -f 1) >> ../../hostlist
|
||||
done
|
||||
|
||||
|
||||
8
bash/virt-virsh/vmcloning-init
Normal file → Executable file
8
bash/virt-virsh/vmcloning-init
Normal file → Executable file
@@ -1,10 +1,6 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
prefix="hosting_"
|
||||
postfix="_vm"
|
||||
|
||||
for var in $(cat ../../memlist)
|
||||
for var in $(grep hosting ../../memlist)
|
||||
do
|
||||
name=$prefix$var$postfix
|
||||
virt-clone --original generic_hosting --name $name --auto-clone
|
||||
virt-clone --original generic_hosting --name $var --auto-clone
|
||||
done
|
||||
|
||||
8
bash/virt-virsh/vmundefine
Normal file → Executable file
8
bash/virt-virsh/vmundefine
Normal file → Executable file
@@ -1,10 +1,6 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
prefix="hosting_"
|
||||
postfix="_vm"
|
||||
|
||||
for var in $(cat ../../memlist)
|
||||
for var in $(grep hosting ../../memlist)
|
||||
do
|
||||
name=$prefix$var$postfix
|
||||
virsh undefine $name
|
||||
virsh undefine $var
|
||||
done
|
||||
|
||||
21
hostlist
Normal file
21
hostlist
Normal file
@@ -0,0 +1,21 @@
|
||||
hosting_antonkaretnikov:
|
||||
hosting_alexanderboliubysh:
|
||||
hosting_dorjisandakov:
|
||||
hosting_sergeymoskalenko:
|
||||
hosting_katerinenikitina:
|
||||
hosting_kirillsavchenko:
|
||||
hosting_nikitamochalov:
|
||||
hosting_danilreutov:
|
||||
hosting_anastasiatsygankova:
|
||||
hosting_egorkaikov:
|
||||
hosting_stepanyankov:
|
||||
hosting_daniilivlev:
|
||||
hosting_mariaborzykh:
|
||||
hosting_irinakatalanina:
|
||||
hosting_mariagerasimenko:
|
||||
hosting_evgeniatroshinovskaya:
|
||||
hosting_marinerusskikh:
|
||||
hosting_vsevolodignatenko:
|
||||
hosting_konstantinbekbauov:
|
||||
hosting_egorparkhomenko:
|
||||
hosting_danilmatveyev:
|
||||
22
memlist
22
memlist
@@ -1 +1,21 @@
|
||||
antonkaretnikov alexanderboliubysh dorjisandakov sergeymoskalenko katerinenikitina kirillsavchenko nikitamochalov danilreutov anastasiatsygankova egorkaikov stepanyankov daniilivlev mariaborzykh irinakatalanina mariagerasimenko evgeniatroshinovskaya marinerusskikh vsevolodignatenko konstantinbekbauov egorparkhomenko danilmatveyev
|
||||
hosting_antonkaretnikov
|
||||
hosting_alexanderboliubysh
|
||||
hosting_dorjisandakov
|
||||
hosting_sergeymoskalenko
|
||||
hosting_katerinenikitina
|
||||
hosting_kirillsavchenko
|
||||
hosting_nikitamochalov
|
||||
hosting_danilreutov
|
||||
hosting_anastasiatsygankova
|
||||
hosting_egorkaikov
|
||||
hosting_stepanyankov
|
||||
hosting_daniilivlev
|
||||
hosting_mariaborzykh
|
||||
hosting_irinakatalanina
|
||||
hosting_mariagerasimenko
|
||||
hosting_evgeniatroshinovskaya
|
||||
hosting_marinerusskikh
|
||||
hosting_vsevolodignatenko
|
||||
hosting_konstantinbekbauov
|
||||
hosting_egorparkhomenko
|
||||
hosting_danilmatveyev
|
||||
|
||||
Reference in New Issue
Block a user