Altoros/cf-vagrant-installer — pull request #88 by allomov (2013-09-26 15:44:27+00:00)
Title: Set cloud controller local route to localhost

I wasn't able to run cloud controller without this changes. Here is stack trace that I saw after attempt to run it:
```
vagrant@cf:/vagrant$ ./bin/cloud_controller
/home/vagrant/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/bundler/gems/vcap-common-f7653c1140e6/lib/vcap/common.rb:14:in `connect': getaddrinfo: Name or service not known (SocketError)
from /home/vagrant/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/bundler/gems/vcap-common-f7653c1140e6/lib/vcap/common.rb:14:in `block in local_ip'
from /home/vagrant/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/bundler/gems/vcap-common-f7653c1140e6/lib/vcap/common.rb:14:in `open'
from /home/vagrant/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/bundler/gems/vcap-common-f7653c1140e6/lib/vcap/common.rb:14:in `local_ip'
from /vagrant/cloud_controller_ng/lib/cloud_controller/runner.rb:136:in `start_cloud_controller'
from /vagrant/cloud_controller_ng/lib/cloud_controller/runner.rb:95:in `block in run!'
from /home/vagrant/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `call'
from /home/vagrant/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'
from /home/vagrant/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
from /vagrant/cloud_controller_ng/lib/cloud_controller/runner.rb:92:in `run!'
from /vagrant/cloud_controller_ng/bin/cloud_controller:11:in `

'
```
Сhanging ```local_route``` option to localhost helped me to run cloud controller without errors.