File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+
3+ # Only NAT (not NATNet) allows us to expose ports to the internet.
4+ # See: <https://forums.virtualbox.org/viewtopic.php?f=7&t=82039#p386722>
5+ #
6+ # The problem is that when Virtulbox is running as a standard non-root Linux
7+ # user (which is our use-case for the moment), then ports below 1024 cannot be
8+ # bound using this 'nat' network feature.
9+
10+ - type : replace
11+ path : /networks/-
12+ value :
13+ name : vbox-port-forwarding-network
14+ type : manual
15+ subnets :
16+ - range : 10.0.2.0/24 # has to be 10.0.x.0/24
17+ gateway : 10.0.2.2 # has to end with .2
18+ dns : ["10.0.2.3"] # has to end with .3
19+ static :
20+ - 10.0.2.4
21+ cloud_properties :
22+ type : nat
23+
24+ - type : replace
25+ path : /instance_groups/name=bosh/networks/name=default/default?
26+ value : [dns, gateway]
27+
28+ - type : replace
29+ path : /instance_groups/name=bosh/networks/-
30+ value :
31+ name : vbox-port-forwarding-network
Original file line number Diff line number Diff line change 1+ ---
2+
3+ - path : /instance_groups/name=bosh/properties/hm/resurrector?
4+ type : replace
5+ value :
6+ minimum_down_jobs : 5 # > above this threshold, meltdown is declared
7+ percent_threshold : 0.2 # above 20%, meltdown is declared
8+ time_threshold : 600 # time period for calulating meltdown thresholds
You can’t perform that action at this time.
0 commit comments