snippetbashTip
bosh — Deploy and manage the BOSH director. More information: <https://bosh.io/docs/cli-v2/>.
Viewed 0 times
thecommandandclimanagedeploybosh
Problem
How to use the
bosh command: Deploy and manage the BOSH director. More information: <https://bosh.io/docs/cli-v2/>.Solution
bosh — Deploy and manage the BOSH director. More information: <https://bosh.io/docs/cli-v2/>.Create local alias for director in a specific environment:
bosh alias-env {{environment_name}} {{[-e|--environment]}} {{ip_address|URL}} --ca-cert {{ca_certificate}}List environments:
bosh environmentsLog in to the director:
bosh login {{[-e|--environment]}} {{environment}}List deployments:
bosh {{[-e|--environment]}} {{environment}} deploymentsList environment virtual machines in a deployment:
bosh {{[-e|--environment]}} {{environment}} vms {{[-d|--deployment]}} {{deployment}}SSH into virtual machine:
bosh {{[-e|--environment]}} {{environment}} ssh {{virtual_machine}} {{[-d|--deployment]}} {{deployment}}Upload stemcell:
bosh {{[-e|--environment]}} {{environment}} upload-stemcell {{stemcell_file|url}}Show current cloud config:
bosh {{[-e|--environment]}} {{environment}} cloud-configCode Snippets
Create local alias for director in a specific environment
bosh alias-env {{environment_name}} {{[-e|--environment]}} {{ip_address|URL}} --ca-cert {{ca_certificate}}List environments
bosh environmentsLog in to the director
bosh login {{[-e|--environment]}} {{environment}}List deployments
bosh {{[-e|--environment]}} {{environment}} deploymentsList environment virtual machines in a deployment
bosh {{[-e|--environment]}} {{environment}} vms {{[-d|--deployment]}} {{deployment}}Context
tldr-pages: common/bosh
Revisions (0)
No revisions yet.