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