更改bosh的部署(使用bosh-lite)和CloudFoundry

时间:2015-05-06 09:32:18

标签: cloudfoundry cf-bosh

我正在使用bosh-lite来试用云代工厂。我有两个部署:

$ bosh deployments

+---------------------+-----------------------+-------------------------------------------------+
| Name                | Release(s)            | Stemcell(s)                                     |
+---------------------+-----------------------+-------------------------------------------------+
| cf-services-contrib | cf-services-contrib/6 | bosh-warden-boshlite-ubuntu-trusty-go_agent/389 |
+---------------------+-----------------------+-------------------------------------------------+
| cf-warden           | cf/203                | bosh-warden-boshlite-ubuntu-trusty-go_agent/389 |
+---------------------+-----------------------+-------------------------------------------------+

每个部署都包含多个虚拟机(bosh vms可以看到)。

当前部署设置如下:

$ bosh deployment
Current deployment is `[...]/cf-services-contrib-release/tmp/contrib-services-warden-manifest.yml'

我可以使用命令bosh ssh在所选部署中使用ssh进入vms,但是我无法进入任何其他虚拟机。如何更改所选部署?

我尝试bosh deployment cf/203,并将绝对路径传递给cf-release / releases / cf-203.yml文件。

由于

1 个答案:

答案 0 :(得分:1)

你的后一个建议应该有效:

bosh deployment path/to/manifest.yml
bosh ssh