Alex | e286dbd | 2020-10-16 12:47:54 -0500 | [diff] [blame] | 1 | #!/bin/bash |
2 | cmp_mask="cmp" | ||||
3 | echo "Using Compute nodes mask of ${cmp_mask}" | ||||
4 | python analyze.py | tee vms.list | ||||
5 | cat vms.list | cut -d' ' -f 3 >vms | ||||
6 | cat vms | xargs -I{} grep "{}\|${cmp_mask}" ./virsh_vms >to_del_vms | ||||
7 | rm vms |