These scripts are meant to be run using the Google Cloud Shell
$ curl -o install-director-infrastructure.sh https://gist.githubusercontent.com/raw/2818bdb9ee660d1928c011ac019878a9/install-director-infrastructure.sh && . ./install-director-infrastructure.sh
$ gcloud compute ssh bosh-bastion "curl -o install-director.sh https://gist.githubusercontent.com/raw/2818bdb9ee660d1928c011ac019878a9/install-director.sh && . ./install-director.sh"
then clean up with
$ curl -o destroy-director.sh https://gist.githubusercontent.com/raw/2818bdb9ee660d1928c011ac019878a9/destroy-director.sh && . ./destroy-director.sh