Mitchell Hashimoto d1dc010073 Merge pull request #3068 from MSOpenTech/driver-methods
provider/hyperv: move to Driver based model
2014-03-06 08:52:01 -08:00

18 lines
335 B
Ruby

module VagrantPlugins
module HyperV
module Action
class StartInstance
def initialize(app, env)
@app = app
end
def call(env)
env[:ui].output('Starting the machine...')
env[:machine].provider.driver.start
@app.call(env)
end
end
end
end
end