Backlog #410
ask for confirmation on delete operation
Status: | Pending | Start date: | 11/15/2010 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | CLI | |||
Target version: | - |
Description
Hi,
I think that delete/destroy operation such as "onevm delete" should request confirmation before doing so to avoid mistakes and unwanted deletion.
For possible wrappers above those scripts, an option could avoid asking so (such as onvm -force delete ..)
Associated revisions
History
#1 Updated by olivier sallou over 10 years ago
- File request_410.patch added
I join a git patch on oneuser, oneimage,onehost,oneimage and onevnet scripts to add a confirmation prompt on delete operations.
If delete is done with additional force option, no prompt is requested to the user.
Example
onevm delete 1
Are you sure... [Y/n]?
If not Y, process exits.
onevm delete force 1
...
deleted!
#2 Updated by Ruben S. Montero about 8 years ago
- Tracker changed from Request to Feature
- Category set to CLI
This is in sunstone we can add that for the cli two
#3 Updated by Ruben S. Montero about 8 years ago
- Priority changed from Normal to Low
#4 Updated by Ruben S. Montero about 8 years ago
- Tracker changed from Feature to Backlog
#5 Updated by Ruben S. Montero about 8 years ago
- Status changed from New to Pending
#6 Updated by Ruben S. Montero over 7 years ago
- Priority changed from Low to Normal