Skip to content

Instantly share code, notes, and snippets.

@cdelashmutt-pivotal
Created May 1, 2015 19:35
Show Gist options
  • Save cdelashmutt-pivotal/0d5954a4c4e82dc2207e to your computer and use it in GitHub Desktop.
Save cdelashmutt-pivotal/0d5954a4c4e82dc2207e to your computer and use it in GitHub Desktop.
#!/bin/sh
# Example of how to run a single errand in BOSH
# Password is what you set in the web UI when you first set up Ops Manager
ssh tempest@<ops-man-vm-ip>
cd /var/tempest/workspaces/default/deployments
# The actual file you use below depends on the product you want to target
# (usually the Elastic Runtime), and the number of times you have installed.
# You may need to find the latest version of that file in this directory.
bosh deployment cf-*.yml
bosh target https://<director-vm-ip>:25555
# The password is in Ops Manager on the "Credentials" tab for the IaaS tile
bosh login director
# This will let you select an errand from a list to run. Choose
# push-console to push the console.
bosh run errand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment