- Log in to Ops Manager in the browser
- Go to the Ops Manager Director tile
- Go to the
Status
tab and note the IP address of the director VM - Go to the
Credentials
tab and click the link that saysDirector Credentials
. Note the username and password - SSH into the Ops Manager VM
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
#!/bin/bash | |
function defer() { | |
existing=$(trap -p EXIT | sed -e "s/^trap -- '\(.*\)' EXIT$/\1/" -e "s/\'\\\'\'/'/g") | |
new="$@" | |
if [ ! -z "${existing}" ]; then | |
existing="${existing} ;" | |
fi |
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
package main | |
import ( | |
"log" | |
"os" | |
"strings" | |
"gopkg.in/yaml.v2" | |
) |
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
#!/bin/bash | |
set -eu | |
opsman() { | |
om -t OPSMAN_URL -k -u OPSMAN_USER -p OPSMAN_PASSWORD -f json "$@" | |
} | |
OFS=$IFS | |
IFS=$'\n' |
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
--- | |
resources: | |
- name: source | |
type: git | |
source: | |
uri: {{git-uri}} | |
branch: {{git-branch}} | |
private_key: {{git-private-key}} | |
- name: s3 |
I hereby claim:
- I am jghiloni on github.
- I am joshghiloni (https://keybase.io/joshghiloni) on keybase.
- I have a public key whose fingerprint is 3818 FF0C 6B0E B0F2 5256 F634 A905 5D72 5BF4 C95A
To claim this, I am signing this object: