bosh lite vagrant up失败,无错误

bosh lite vagrant up失败,无错误,vagrant,Vagrant,我正在尝试在MacOSX笔记本电脑V10.9.4上使用BoshLite设置本地CloudFoundry实例 sh-3.2# vagrant -v Vagrant 1.7.1 sh-3.2# 我解压缩了bosh lite master的内容 运行以下命令 见下文 sh-3.2#vagrant up --provider=virtualbox 我收到了错误消息 Bringing machine 'default' up with 'virtualbox' provider... ==>

我正在尝试在MacOSX笔记本电脑V10.9.4上使用BoshLite设置本地CloudFoundry实例

sh-3.2# vagrant -v
Vagrant 1.7.1
sh-3.2# 
我解压缩了bosh lite master的内容 运行以下命令

见下文

sh-3.2#vagrant up --provider=virtualbox
我收到了错误消息

Bringing machine 'default' up with 'virtualbox' provider...

==> default: Box 'cloudfoundry/bosh-lite' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: 2776
The box 'cloudfoundry/bosh-lite' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/cloudfoundry/bosh-lite"]
Error: 
sh-3.2#
错误部分是空的,我完全没有线索,因为这是我第一次和流浪汉一起工作

流浪者档案的内容

Vagrant.configure('2') do |config|
  config.vm.box = 'cloudfoundry/bosh-lite'
  config.vm.box_version = '2776'

  config.vm.provider :virtualbox do |v, override|
    # 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
  end

  [:vmware_fusion, :vmware_desktop, :vmware_workstation].each do |provider|
    config.vm.provider provider do |v, override|
      # To use a different IP address for the bosh-lite director, uncomment this line:
      # override.vm.network :private_network, ip: '192.168.54.4', id: :local

      override.vm.box_version = '388'
    end
  end

  config.vm.provider :aws do |v, override|
    # To turn off public IP echoing, uncomment this line:
    # override.vm.provision :shell, id: "public_ip", run: "always", inline: "/bin/true"

    # To turn off CF port forwarding, uncomment this line:
    # override.vm.provision :shell, id: "port_forwarding", run: "always", inline: "/bin/true"
  end
end
请阅读

从/opt/vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/util/subprocess.rb中注释掉这个块,使它像一个符咒一样工作

if @command[0].downcase.include?(installer_dir)
@logger.info("Command in the installer. Specifying DYLD_LIBRARY_PATH...")
process.environment["DYLD_LIBRARY_PATH"] =
"#{installer_dir}/lib:#{ENV["DYLD_LIBRARY_PATH"]}"
@logger.info("process.environment")
@logger.info(process.environment["DYLD_LIBRARY_PATH"])
@logger.info("end process.environment")
else
@logger.debug("Command not in installer, not touching env vars.")
end

您可能需要首先解决之前出现的“无法找到该框”错误。链接显示有一个名为cloudfoundry/bosh lite的可用“框”。我用上面提到的站点使用id和密码创建了vagrant登录。vagrant登录成功,但仍然无法运行vagrant up,失败的原因是相同的错误运行命令
vagrant box add cloudfoundry/bosh lite
,你能得到图像吗?我试着添加了这个盒子。我得到了同样的错误,盒子“cloudfoundry/bosh lite”在远程目录中找不到或无法访问。如果这是HashiCorp Atlas上的私人邮箱,请验证您是否通过
vagrant login
登录。另外,请仔细核对姓名。扩展的URL和错误消息如下所示:URL:[“错误: