Skip to content

Instantly share code, notes, and snippets.

@boina-n
Created October 23, 2018 15:40
Show Gist options
  • Save boina-n/1fb1153a7a368fd80c08d9c152f64f04 to your computer and use it in GitHub Desktop.
Save boina-n/1fb1153a7a368fd80c08d9c152f64f04 to your computer and use it in GitHub Desktop.
put cf deployment name in a variable
boshenv=pcf
boshdep=$(bosh -e $boshenv deployments | grep ^cf\-[a-z0-9].*$ | awk '{ print $1 }')
bosh -e pcf -d $boshdep vms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment