前面做了那么多,就是为了这一步,虽说不是很难,却是步步惊心,一路bug.还好楼主大多自己解决了!
bosh target 192.168.1.23
git clone git@github.com:cloudfoundry/cf-release.git
cd cf-release
bosh upload stemcell stemcells/bosh-stemcell-vsphere-0.6.4.tgz
bosh upload release releases/appcloud-131.yml
bosh deployment ~/deployments/cloudfoundry.yml bosh deploy
cloudfoundry.yml文件参考我的博客。
大概步骤说下就是:1.target到你的cf的director
2.clone下cf-releasedaima
3.上传stemcell模板
4.上传release配置文件
5.部署cf清单文件
6.部署虚拟机以及cf的配置
在上传release的时候有可能出现网络问题的段接,重新执行下代码就可以了
最后一步部署时间比较久,耐心等待。