Sha256: 874975aa9b63bfa7d85e945039b4c40602a804d78dd581a8fe84ba98727c1793
Contents?: true
Size: 1 KB
Versions: 3
Compression:
Stored size: 1 KB
Contents
VAGRANTFILE_API_VERSION = '2' %w{AC_USERNAME AC_PASSWORD}.each do |var| abort "Please set the environment variable #{var} in order to run the test" unless ENV.key? var end Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "dummy" config.vm.define :vmvgr01 do |vmvgr01_config| vmvgr01_config.ssh.username = 'root' vmvgr01_config.ssh.password = 'test123' vmvgr01_config.vm.synced_folder ".", "/vagrant", disabled: true vmvgr01_config.vm.synced_folder "/hostshare2", "/guestshare_norm" vmvgr01_config.vm.provision "shell" do |s| s.inline = "echo 'test start script ok'" end vmvgr01_config.vm.provider :arubacloud do |ac, ac_override| ac_override.nfs.functional = false # no nfs start ac.arubacloud_username = ENV['AC_USERNAME'] ac.arubacloud_password = ENV['AC_PASSWORD'] ac.service_type = 4 ac.endpoint = "dc2" ac.template_id = '601' ac.server_name = 'lnxtestvag1' ac.package_id = 'small' end end end
Version data entries
3 entries across 3 versions & 1 rubygems