vagrant/plugins/commands/snapshot/command
Brian Cain 87b7514603 (#7188) Clean up vagrant snapshot restore/delete error messages
This commit adds some better handling around the snapshot restore and
delete commands for the virtualbox provider. If a user attempts to restore from
a vm that does not exist, instead of exiting 0 it will raise an
exception saying the virtual machine has not been created yet.
Addtionally, if a user attempts to restore from a snapshot id that does
not exist, instead of printing a complicated exception from the
virtualbox cli tool, it prints a more useful error message telling the
user that the snapshot does not exist.
2017-06-07 09:12:20 -07:00
..
delete.rb (#7188) Clean up vagrant snapshot restore/delete error messages 2017-06-07 09:12:20 -07:00
list.rb Raise exception if provider doesn't have snapshot capability 2017-05-26 15:22:25 -07:00
pop.rb Support provisioning flags on snapshot rollback 2016-01-16 16:07:57 +00:00
push.rb commands/snapshot: push and pop 2015-10-07 22:52:27 -04:00
push_shared.rb Fix up style nit. 2016-03-04 17:35:54 +00:00
restore.rb (#7188) Clean up vagrant snapshot restore/delete error messages 2017-06-07 09:12:20 -07:00
root.rb commands/snapshot: use require relative 2015-10-08 10:40:46 -04:00
save.rb Raise exception if provider doesn't have snapshot capability 2017-05-26 15:22:25 -07:00