Sha256: 90385fe3e84d642a63508e86e52db7cf91c7ea708cd7a4d9dbeda72670780819

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

$LOAD_PATH.unshift File.expand_path('lib', __dir__)

# Prevent tests from attempting to load plugins from a Vagrant install
# that may exist on the host system. We load required plugins below.
ENV['VAGRANT_DISABLE_PLUGIN_INIT'] = '1'

require 'pathname'
require 'vagrant-spec/acceptance'
require 'vagrant-auto_network'

Vagrant::Spec::Acceptance.configure do |c|
  acceptance_dir = Pathname.new File.expand_path('acceptance', __dir__)

  c.component_paths = [acceptance_dir.to_s]
  c.skeleton_paths = [(acceptance_dir + 'skeletons').to_s]

  c.provider 'virtualbox',
    box: (acceptance_dir + 'artifacts' + 'centos-virtualbox.box').to_s,
    env_vars: {
      'VBOX_USER_HOME' => '{{homedir}}',
      'AUTO_NETWORK_TEST_RANGE' => '10.42.1.0/24',
    }

  # VMware Fusion disabled by default. Instructions:
  #   https://github.com/oscar-stack/vagrant-auto_network/wiki#vmware-fusion

  #c.provider 'vmware_fusion',
  #  box: (acceptance_dir + 'artifacts' + 'vmware_fusion.box').to_s,
  #  env_vars: {
  #    'AUTO_NETWORK_TEST_RANGE' => '10.42.2.0/24',
  #  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-auto_network-1.0.3 vagrant-spec.config.example.rb