bosh: add page (#1575)

This commit is contained in:
Martin Caarels 2017-10-25 21:30:06 +02:00 committed by Starbeamrainbowlabs
parent d4324aeb8f
commit 359252f1ce

35
pages/common/bosh.md Normal file
View File

@ -0,0 +1,35 @@
# bosh
> Command line tool to deploy and manage the bosh director.
- Create local alias for director:
`bosh alias-env {{environment-name}} -e {{ip address or url}} --ca-cert {{ca_certificate}}`
- List environments:
`bosh environments`
- Login to the director:
`bosh login -e {{environment}} `
- List deployments:
`bosh -e {{environment}} deployments`
- List environment virtual machines:
`bosh -e {{environment}} vms -d {{deployment}}`
- Ssh into virtual machine:
`bosh -e {{environment}} ssh {{virtual machine}} -d {{deployment}}`
- Upload stemcell:
`bosh -e {{environment}} upload-stemcell {{stemcell file or url}}`
- Show current cloud config:
`bosh -e {{environment}} cloud-config`