Skip to content

Instantly share code, notes, and snippets.

@rkoster
Created July 4, 2014 09:32
Show Gist options
  • Save rkoster/e44388b735c66b491003 to your computer and use it in GitHub Desktop.
Save rkoster/e44388b735c66b491003 to your computer and use it in GitHub Desktop.
Rebuild bosh-lite
#!/bin/sh
cd ~/workspace/bosh-lite
vagrant suspend
vagrant destroy -f
vagrant up
say "please enter your root password" &
scripts/add-route
cd ~/workspace/stemcells
bosh upload stemcell latest-bosh-stemcell-warden.tgz.2
cd ~/workspace/cf-release
bosh upload release releases/cf-171.yml
cd ~/workspace/nats-service-boshrelease
bosh upload release releases/nats-service-1.yml
cd ~/workspace/cf-services-contrib-release
bosh upload release releases/cf-services-contrib-5.yml
say "bosh-lite has been rebuild"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment