Skip to content

Instantly share code, notes, and snippets.

View anynines-gist's full-sized avatar

anynines-gist

View GitHub Profile
@anynines-gist
anynines-gist / bosh_sql_snippet
Last active May 29, 2019 12:05
Use Bosh to manually change the IP of your Cloud Foundry domains for a second deployment
# First insert the domains to the powerdns database used by bosh
insert into domains(name,type) values('a9s.eu','NATIVE');
insert into domains(name,type) values('a9sapp.eu','NATIVE');
# Then insert the required dns settings
# You need to replace the domain name and the domain_id. We're using *.de.a9s.eu as Cloud Foundry
# domain and *.de.a9sapp.eu as app domain.
insert into records(name,type,content,ttl,change_date,domain_id)
@anynines-gist
anynines-gist / bosh_manifest_changes
Created January 16, 2014 20:40
Anynines Bosh deployment changes required to migrate from VMWare vCloud to OpenStack
network: network:
cloud_properties: cloud_properties:
name: "anynines" name: "anynines"
ip: 5.22.x.x | net_id: 12345678-9101-1121-1236-142355d67ca5
netmask: 255.255.255.0 | type: manual
gateway: 5.22.x.x | label: private
dns: | ip: 10.10.10.10
- 109.234.x.x <
- 109.234.x.x <