Nikolay Pliashechnykov | 316823e | 2020-08-14 15:44:50 +0100 | [diff] [blame^] | 1 | #!/bin/sh |
2 | echo "Gathering the nova data, this may take a while" | ||||
3 | sudo salt -C "ctl01*" cmd.run ". /root/keystonercv3; nova --debug list --all --limit -1" > nova_vms | ||||
4 | echo "Gathering the virsh data, this may take even longer" | ||||
5 | sudo salt -t 10 -C "cmp*" cmd.run 'bash -c "paste <(virsh list --all --uuid) <(virsh list --all | grep instance)"' > virsh_vms |