Created
October 12, 2018 13:50
-
-
Save ob1-sc/5dc4ad61e2e5edb98e55b92b8e49e06e to your computer and use it in GitHub Desktop.
Upload Tile to Ops Manager using om cli
This file contains hidden or 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
| export FILE_NAME="cf-2.2.7-build.8.pivotal" # This is the name of the file (tile) to upload to om | |
| export OM_USER="admin" | |
| export OM_PWD="supersecurepassword" | |
| export OM_TARGET="ops-manager address" | |
| export OM_TIMEOUT=86400 # set a high timeout incase upload takes a while | |
| om -t $OM_TARGET -u $OM_USER -p $OM_PWD -k upload-product -p $FILE_NAME -r $OM_TIMEOUT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment