Backlog #442
onevm delete * should delete all available virtual machines
Status: | Closed | Start date: | 12/10/2010 | |
---|---|---|---|---|
Priority: | None | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Core & System | |||
Target version: | - |
Description
Hi
I make a lot of tests with OpenNebula and so I have to launch/manage multiple VMs... and it's not convenient to delete them one by one each time. I think it might be useful to have an option for onevm delete that deletes all currently listed VMs. (for example onevm delete *)
This might also be implemented for onehost delete, onevnet etc... but also for the other options of onevm: such as suspend, shutdown...
Thank you
Related issues
Associated revisions
History
#1 Updated by Nuno Cardoso over 10 years ago
I've had the same problem... I've came up with this solution:
#!/bin/bash for a in `onevm list |tail -n +2|awk '{print $1}'`; do echo "Killing: $a"; if [[ $# > 0 ]]; then onevm $1 $a; else onevm delete $a; fi done;
#2 Updated by Anonymous over 9 years ago
I support this requested feature.
#3 Updated by Ruben S. Montero about 8 years ago
- Tracker changed from Request to Backlog
#4 Updated by Ruben S. Montero about 8 years ago
- Status changed from New to Pending
#5 Updated by Ruben S. Montero over 7 years ago
- Priority changed from Low to None
#6 Updated by Ruben S. Montero over 6 years ago
- Status changed from Pending to Closed