Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dergachev/vagrant-vbox-snapshot
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0.9
Choose a base ref
...
head repository: dergachev/vagrant-vbox-snapshot
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.0.10
Choose a head ref
  • 4 commits
  • 4 files changed
  • 3 contributors

Commits on Nov 13, 2015

  1. Copy the full SHA
    a8bb8f0 View commit details
  2. Copy the full SHA
    9417f67 View commit details
  3. Merge pull request #36 from TomyLobo/patch-3

    vagrant snapshot go and vagrant snapshot back no longer fail if the VM is in "aborted" state
    dergachev committed Nov 13, 2015
    Copy the full SHA
    75b9e93 View commit details

Commits on Nov 24, 2015

  1. Releasing v0.0.10

    dergachev committed Nov 24, 2015
    Copy the full SHA
    1c3b927 View commit details
Showing with 9 additions and 3 deletions.
  1. +6 −0 CHANGELOG.md
  2. +1 −1 lib/vagrant-vbox-snapshot/commands/back.rb
  3. +1 −1 lib/vagrant-vbox-snapshot/commands/go.rb
  4. +1 −1 lib/vagrant-vbox-snapshot/version.rb
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [0.0.10](https://github.com/dergachev/vagrant-vbox-snapshot/compare/v0.0.9...v0.0.10) (November 13, 2015)

IMPROVEMENTS:

- vagrant snapshot back and go no longer fails if the VM is in "aborted" state [#36](https://github.com/dergachev/vagrant-vbox-snapshot/pull/36)

## [0.0.9](https://github.com/dergachev/vagrant-vbox-snapshot/compare/v0.0.8...v0.0.9) (July 3, 2015)

IMPROVEMENTS:
2 changes: 1 addition & 1 deletion lib/vagrant-vbox-snapshot/commands/back.rb
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ def execute
with_target_vms(argv, single_target: true) do |machine|
check_runnable_on(machine)

if machine.state.id != :poweroff and machine.state.id != :saved
if machine.state.id != :poweroff and machine.state.id != :saved and machine.state.id != :aborted
machine.provider.driver.execute("controlvm", machine.id, "poweroff")
end

2 changes: 1 addition & 1 deletion lib/vagrant-vbox-snapshot/commands/go.rb
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ def execute

before_restore(machine)

if machine.state.id != :poweroff and machine.state.id != :saved
if machine.state.id != :poweroff and machine.state.id != :saved and machine.state.id != :aborted
@env.ui.info("Powering off machine #{vm_id}")
machine.provider.driver.execute("controlvm", machine.id, "poweroff")
end
2 changes: 1 addition & 1 deletion lib/vagrant-vbox-snapshot/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module VagrantPlugins
module VBoxSnapshot
VERSION = "0.0.9"
VERSION = "0.0.10"
end
end