vagrant-lxc-ng/lib/vagrant-lxc/action/boot.rb

14 lines
268 B
Ruby
Raw Normal View History

module Vagrant
module LXC
module Action
class Boot < BaseAction
def call(env)
config = env[:machine].provider_config
env[:machine].provider.container.start(config)
@app.call env
end
end
end
end
end