1
0
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:
Adrian Todorov
2017-10-25 20:52:40 +00:00
parent 704f4d20d1
commit a59409f16b
1627 changed files with 489673 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin
echo "Creating vcsim model..."
cat > /etc/vmware-vpx/vcsim/model/initInventory-govc.cfg <<EOF
<config>
<inventory>
<dc>2</dc>
<host-per-dc>3</host-per-dc>
<vm-per-host>3</vm-per-host>
<poweron-vm-per-host>2</poweron-vm-per-host>
<cluster-per-dc>2</cluster-per-dc>
<host-per-cluster>3</host-per-cluster>
<rp-per-cluster>3</rp-per-cluster>
<vm-per-rp>4</vm-per-rp>
<poweron-vm-per-rp>3</poweron-vm-per-rp>
<dv-portgroups>2</dv-portgroups>
</inventory>
</config>
EOF
cat > /etc/vmware-vpx/vcsim/model/vcsim-default.cfg <<EOF
<simulator>
<enabled>true</enabled>
<initInventory>vcsim/model/initInventory-govc.cfg</initInventory>
</simulator>
EOF
echo "Starting VC simulator..."
vmware-vcsim-stop
vmware-vcsim-start default