mirror of
https://github.com/Oxalide/vsphere-influxdb-go.git
synced 2023-10-10 11:36:51 +00:00
add vendoring with go dep
This commit is contained in:
27
vendor/github.com/vmware/govmomi/govc/test/esxbox/Vagrantfile
generated
vendored
Normal file
27
vendor/github.com/vmware/govmomi/govc/test/esxbox/Vagrantfile
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
|
||||
Vagrant.configure("2") do |config|
|
||||
config.ssh.insert_key = false
|
||||
config.ssh.default.username = "root"
|
||||
config.ssh.shell = "sh"
|
||||
config.vm.hostname = "esxbox"
|
||||
|
||||
config.vm.box = "esxi55"
|
||||
config.vm.synced_folder ".", "/vagrant", disabled: true
|
||||
config.vm.network "forwarded_port", guest: 443, host: 18443
|
||||
|
||||
[:vmware_fusion, :vmware_workstation].each do |name|
|
||||
config.vm.provider name do |v,override|
|
||||
v.vmx["memsize"] = "4096"
|
||||
end
|
||||
end
|
||||
|
||||
config.vm.provision "shell", privileged: false, :inline => <<EOS
|
||||
# Turn off the firewall
|
||||
esxcli network firewall set --enabled false
|
||||
|
||||
# Enable option so we can get VM ip address w/o vmware-tools
|
||||
esxcli system settings advanced set -o /Net/GuestIPHack -i 1
|
||||
EOS
|
||||
end
|
Reference in New Issue
Block a user