Follow instructions VirtualBox
$ gem install bosh_cli --no-ri --no-rdoc
Follow instructions Vagrant
$ cd
$ mkdir workspace
$ cd workspace
$ git clone https://github.com/cloudfoundry/bosh-lite
$ cd bosh-lite
config.vm.provider :virtualbox do |v, override|
override.vm.box_version = '9000.131.0' # ci:replace
# To use a different IP address for the bosh-lite director, uncomment this line:
# override.vm.network :private_network, ip: '192.168.59.4', id: :local
v.name = "pivotal-interview-bosh-release-box" # naming the box
v.memory = 2048 # setting the system base memory to 2048MB
v.customize ["modifyvm", :id, "--vram", 16] # setting the video memory to 16MB
v.cpus = 1 # setting the number of CPUs to 1
end
$ vagrant up --provider=virtualbox
$ export no_proxy=xip.io,192.168.50.4
$ bosh target 192.168.50.4 lite
$ bin/add-route
$ vagrant ssh
vagrant@agent-id-bosh-0:~$ sudo chown -cR vcap:vcap /vagrant/
vagrant@agent-id-bosh-0:~$ exit
$ cd ..
$ git clone https://github.com/chiswicked/interview
$ cd interview
Download latest BOSH Lite Warden stemcell
$ bosh upload stemcell ~/Downloads/bosh-stemcell-3262.2-warden-boshlite-ubuntu-trusty-go_agent.tgz
$ bosh deployment deployments/warden.yml
$ bosh create release
$ bosh upload release
$ bosh deploy
$ cd ../bosh-lite
$ vagrant ssh
$ bosh vms
$ ssh vcap@10.254.0.2
vcap@a9f48d90-613b-4e20-bb4e-1eee0b90d7d1:~$ tail -f /var/vcap/sys/log/timer/*