Sha256: bb629e92b3aad995784bc69f8988015d392fd893b96b0207cc469d572a94e2fc
Contents?: true
Size: 517 Bytes
Versions: 69
Compression:
Stored size: 517 Bytes
Contents
module VagrantPlugins module ProviderVirtualBox module Action class Boot def initialize(app, env) @app = app end def call(env) @env = env boot_mode = @env[:machine].provider_config.gui ? "gui" : "headless" # Start up the VM and wait for it to boot. env[:ui].info I18n.t("vagrant.actions.vm.boot.booting") env[:machine].provider.driver.start(boot_mode) @app.call(env) end end end end end
Version data entries
69 entries across 62 versions & 9 rubygems