Sha256: 22cd7d06452eac492cfa3ba61d0221475d2bb4cfd054e939043d6d1ce5419364

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

module VagrantPlugins::HostShell
  class Provisioner < Vagrant.plugin('2', :provisioner)
    def provision
      Vagrant::Util::Subprocess.execute(
        '/bin/bash',
        '-c',
        config.inline,
        :notify => [:stdout, :stderr]
      ) do |io_name, data|
        @machine.env.ui.info "[#{io_name}] #{data}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-host-shell-0.0.2 lib/vagrant-host-shell/provisioner.rb