Sha256: bc2b81e8db3e6e8bc170f5822ae728484d5e8e3a7d006648e035a93663b47cdb
Contents?: true
Size: 587 Bytes
Versions: 7
Compression:
Stored size: 587 Bytes
Contents
#!/usr/bin/env bash # Validate that BOSH deployer is ready if [[ $EUID -ne 0 ]]; then echo "ERROR: This script must be run as root" 1>&2 exit 1 fi echo "Testing for 'bosh micro deploy' command..." bosh_output=$(bosh --no-color help micro) if [[ "$(echo $bosh_output | grep 'micro deploy')" == "" ]]; then echo "Failed to install 'bosh micro deploy'. Please investigate issue and report root cause so we can fix it." echo "Output of 'bosh --no-color help micro':" echo $bosh_output exit 1 else echo "Successfully installed bosh deployer (bosh micro deploy)" exit 0 fi
Version data entries
7 entries across 7 versions & 1 rubygems