Sha256: 88e1d6bae990e6bf147c7acd0bd356a88b54d0811923fc18a794c66db273557b

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

module VagrantPlugins

    module ProviderVirtualBox

        module Action

            class SnapshotTake

                def initialize(app, env)
                    @app = app
                end

                def call(env)

                    env[:ui].info I18n.t("vagrant_snap.actions.vm.snapshot_take.taking")
                    env[:machine].provider.driver.snapshot_take(env[:snap_name])

                    @app.call(env)

                end

            end

        end

    end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-multiprovider-snap-0.0.12 lib/vagrant-multiprovider-snap/providers/virtualbox/action/snapshot_take.rb