/
vsphere.yml
61 lines (54 loc) · 1.8 KB
/
vsphere.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
# keep things ordered in the "mouse" resource pool
- type: replace
path: /cloud_provider/properties/vcenter/datacenters/0/clusters/0/((vcenter_cluster))?
value:
resource_pool: ((vcenter_resource_pool))
- type: replace
path: /resource_pools/name=vms/stemcell?
value:
url: https://bosh.io/d/stemcells/bosh-vsphere-esxi-ubuntu-trusty-go_agent?v=3363.15
sha1: d5571cd8e13d1daca99dc821e4fb751f4cdd42f8
- type: replace
path: /releases/name=bosh-vsphere-cpi?
value:
name: bosh-vsphere-cpi
url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release?v=40
sha1: f8958a21f8e0b9e57a7168122565fe1c0805aa0a
# add second (opaque) network
- type: replace
path: /networks/-
value:
name: internetless
subnets:
- cloud_properties:
name: opaque
dns:
- 8.8.8.8
range: 192.168.0.0/24
gateway: 192.168.0.1
static:
- 192.168.0.1
type: manual
- type: replace
path: /instance_groups/0/networks/name=default/default?
value: [ dns, gateway ]
- type: replace
path: /instance_groups/0/networks/-
value:
name: internetless
static_ips:
- 192.168.0.2
# Deployed VMs must communicate via 192.168.0 (opaque) interface
# must set `-v nats_password=SingGoddessTheAngerOfPeleus`
- type: replace
path: /instance_groups/0/properties/agent/mbus
value: nats://nats:SingGoddessTheAngerOfPeleus@192.168.0.2:4222
# I want a password for vcap so that I can `sudo` during the compilation phase
- type: replace
path: /resource_pools/name=vms/env?
value:
bosh:
# c1oudc0w is a default password for vcap user
# python -c "import crypt, getpass, pwd; print crypt.crypt('c1oudc0w', '\$6\$cunnie\$')"
password: "$6$cunnie$GbaS32DMXiaAGYbD/wmNRgJqjHeXnUsXBfp3MgyYntmxIk9XOxM/K3aIKBCCnFGvyc3kCFn61VqatGUEHAr.x/"