Skip to content

Instantly share code, notes, and snippets.

@killfill
Created August 20, 2014 21:59
Show Gist options
  • Save killfill/47523809cc5ce655dc91 to your computer and use it in GitHub Desktop.
Save killfill/47523809cc5ce655dc91 to your computer and use it in GitHub Desktop.
---
name: the-micro
logging:
level: debug
network:
type: dynamic
#VIP is needed now, probably will not be needed in the future: https://groups.google.com/a/cloudfoundry.org/forum/#!searchin/bosh-dev/Micro$20BOSH$20deployment$20doesn$27t$20work$20with$20DHCP/bosh-dev/_hgfQt0yczg/B_W-CK39MQYJ
vip: 1.2.3.4
dns:
- 127.0.0.1 #Use the internal powerdns to resolve.
cloud_properties:
net_id: c0c15666-0b72-4998-aaf2-2bb40e71b799 #[Fifo Network UUID]
resources:
persistent_disk: 0 #https://github.com/cloudfoundry/bosh/blob/master/bosh_cli_plugin_micro/lib/bosh/cli/commands/micro.rb#L154
cloud_properties:
instance_type: 8ade6653-86ac-4777-82a3-728ac5751142 #[Fifo Package UUID]
cloud:
external_cpi:
enabled: true
cpi_path: /path/to/bosh-fifo-cpi/bin/cpi
name: fifo-cpi
#plugin: We need to set some dumb values in openstack plugin.
plugin: openstack
properties:
openstack:
private_key: /path/to/.ssh/id_rsa #openstack plugin validates this is setup
#This ones are validated by bosh-registry instance_manager/openstack.rb:10
auth_url: url
username: user
api_key: key
tenant: tenant
#This ones (including the registry mock) needs to be there, so director.yml.erb.erb puts plugins:openstack there so this doesnt fail whe director tried to start in the microbosh vm:
# /var/vcap/packages/director/gem_home/ruby/1.9.1/gems/bosh-director-1.2641.0/bin/bosh-director-migrate:53:in `join': can't convert nil into String (TypeError)
default_key_name: defkey
default_security_groups: defsecgroups
wait_resource_poll_interval: wairrespoll
registry:
address: 1.1.1.1
http:
port: 123
user: usu,
password: pass
apply_spec:
properties:
dns:
recursor: 10.0.0.1
director:
max_threads: 3
hm:
resurrector_enabled: true
ntp:
- 0.north-america.pool.ntp.org
- 1.north-america.pool.ntp.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment