Created
March 13, 2017 03:08
-
-
Save timani/7cd0d309d456e967a9efa539f03bf1b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
$ bosh target 192.168.50.4 lite | |
Target set to 'Bosh Lite Director' | |
$ bosh targets | |
+--------------------------------------+----------------------------+ | |
| Name | Director URL | | |
+--------------------------------------+----------------------------+ | |
| lite | https://192.168.50.4:25555 | | |
+--------------------------------------+----------------------------+ | |
Targets total: 1 | |
``` | |
Login to the bosh Director | |
``` | |
$ bosh login | |
Your username: admin | |
Enter password: | |
Logged in as 'admin' | |
``` | |
``` | |
$ bosh cloud-config | |
Acting as user 'admin' on 'Bosh Lite Director' | |
$ git clone git@github.com:cloudfoundry/cf-deployment.git | |
Cloning into 'cf-deployment'... | |
remote: Counting objects: 4780, done. | |
remote: Compressing objects: 100% (45/45), done. | |
remote: Total 4780 (delta 22), reused 0 (delta 0), pack-reused 4734 | |
Receiving objects: 100% (4780/4780), 854.60 KiB | 0 bytes/s, done. | |
Resolving deltas: 100% (2665/2665), done. | |
$ ls -la cf-deployment/ | |
total 160 | |
drwxr-xr-x 12 tmunyaradzi staff 408 Mar 12 19:32 . | |
drwxr-xr-x 15 tmunyaradzi staff 510 Mar 12 19:32 .. | |
drwxr-xr-x 12 tmunyaradzi staff 408 Mar 12 19:32 .git | |
-rw-r--r-- 1 tmunyaradzi staff 20 Mar 12 19:32 .gitignore | |
-rw-r--r-- 1 tmunyaradzi staff 621 Mar 12 19:32 NOTICE | |
-rw-r--r-- 1 tmunyaradzi staff 11638 Mar 12 19:32 README.md | |
drwxr-xr-x 3 tmunyaradzi staff 102 Mar 12 19:32 bosh-lite | |
-rw-r--r-- 1 tmunyaradzi staff 5184 Mar 12 19:32 bosh-lite-on-gcp-deployment-guide.md | |
-rw-r--r-- 1 tmunyaradzi staff 43071 Mar 12 19:32 cf-deployment.yml | |
-rw-r--r-- 1 tmunyaradzi staff 7810 Mar 12 19:32 gcp-deployment-guide.md | |
drwxr-xr-x 19 tmunyaradzi staff 646 Mar 12 19:32 operations | |
drwxr-xr-x 3 tmunyaradzi staff 102 Mar 12 19:32 texts | |
$ cd cf-deployment/ | |
``` | |
Export the ca cert for bosh | |
``` | |
export BOSH_CA_CERT=$PWD/bosh-lite/ca/certs/ca.crt | |
``` | |
Update Cloud Config for the bosh Director | |
``` | |
$ bosh update cloud-config bosh-lite/cloud-config.yml | |
Acting as user 'admin' on 'Bosh Lite Director' | |
Successfully updated cloud config | |
$ bosh cloud-config | |
Acting as user 'admin' on 'Bosh Lite Director' | |
azs: | |
- name: z1 | |
- name: z2 | |
- name: z3 | |
compilation: | |
az: z1 | |
network: private | |
reuse_compilation_vms: true | |
vm_type: m3.medium | |
workers: 2 | |
disk_types: | |
- disk_size: 1024 | |
name: 1GB | |
- disk_size: 5120 | |
... | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment