【问题标题】:Failed to setup Cloud Foundry on vagrant with Bosh-lite无法使用 Bosh-lite 在 vagrant 上设置 Cloud Foundry
【发布时间】:2023-03-29 13:13:01
【问题描述】:

我正在尝试在本地机器上设置 Cloud Foundry,当我尝试安装 bosh-lite 时出现以下错误:

$ git clone https://github.com/cloudfoundry/bosh-lite
$ cd bosh-lite
$ vagrant up --provider=virtualbox
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* The following settings shouldn't exist: box_version
* The box 'cloudfoundry/bosh-lite' could not be found.

我尝试在 Vagrant 文件中评论 override.vm.box_version,但第一个错误消失了,它仍然找不到“cloudfoundry/bosh-lite”框!

这是我的机器设置信息:

$ uname -a
Linux ubuntu-server 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:        14.04
Codename:       trusty
$ vagrant -v
Vagrant 1.4.3
$ VBoxManage -v
4.3.10_Ubuntur93012

【问题讨论】:

    标签: ubuntu vagrant virtualbox cloud-foundry


    【解决方案1】:

    你必须在你的机器上升级 Vagrant。 box_version feature 是在 1.5 中引入的。众所周知,Bosh Lite 可以与 Vagrant 1.6.3 一起使用(正如 Bosh Lite Readme 中所述)。

    【讨论】:

    • 在哪里可以找到这个版本以及如何安装它??当我检查 vagrant download page 时,我能找到的最新版本是 1.3.5 !!
    • 看起来这是一个旧的下载区,使用this link
    猜你喜欢
    • 2016-01-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-06-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-07-01
    相关资源
    最近更新 更多