Virtual Machine Creation
See skript aitab jälgida, kui VM loodi. Ma ei ole kindel, kas see on tehniline õige aga see töötab loo ajal. Vmsd faili. Igatahes, põhimõtted on olemas, ja peaks tegema tööd.
[Root @ esx007 root] # cat vm_creation.sh
#! / Bin / sh
kuupäev> / root / vm_creation.txt
echo ------- >> / root / vm_creation.txt
echo virtualised Server Creation >> / root / vm_creation.txt
echo ------- >> / root / vm_creation.txt
ls-1F / vmfs / mahu / | grep @ | cut-d @-f 1 | kui read dir; ei
leida / vmfs / mahu / $ {dir} /-name "*. vmsd" | grep-v ". snapshot" | ning loe var; teha
ls-la "$ var" | cut-c 43-50,71-180 >> / root / vm_creation.txt
teha;
tehtud









































