【问题标题】:Vagrant box doesn't support provider parallels (need to use parallels not virtualbox with m1 chip)Vagrant box 不支持 provider 并行(需要使用并行而不是带有 m1 芯片的 virtualbox)
【发布时间】:2021-06-15 09:41:38
【问题描述】:

如何用支持并行作为提供者的盒子替换这个流浪盒子?我需要并行,因为 virtualbox 在 m1 mac 上不起作用。

我已经按照这些说明为 vagrant 安装并行插件 https://kb.parallels.com/en/122843

Bringing machine 'forge_offers_core' up with 'parallels' provider...
==> forge_offers_core: Box 'damianlewis/lamp-php7.1' could not be found. Attempting to find and install...
    forge_offers_core: Box Provider: parallels
    forge_offers_core: Box Version: >= 0
==> forge_offers_core: Loading metadata for box 'damianlewis/lamp-php7.1'
    forge_offers_core: URL: https://vagrantcloud.com/damianlewis/lamp-php7.1
The box you're attempting to add doesn't support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn't
simply misspell it.

If you're adding a box from HashiCorp's Vagrant Cloud, make sure the box is
released.

Name: damianlewis/lamp-php7.1
Address: https://vagrantcloud.com/damianlewis/lamp-php7.1
Requested provider: [:parallels]

Vagrantfile 中的代码


Vagrant.configure("2") do |config|
  config.vm.box = "damianlewis/lamp-php7.1"

【问题讨论】:

    标签: macos vagrant parallels


    【解决方案1】:

    您需要在虚拟机中搜索您将使用的提供商(在您的情况下为 Parallels) https://app.vagrantup.com/boxes/search?order=desc&page=0&provider=parallels&sort=created

    如果你没有找到一个符合你需要的,你需要自己构建一个(例如使用打包器)

    【讨论】:

      猜你喜欢
      • 2021-04-10
      • 2021-09-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-12-11
      • 2012-12-14
      • 1970-01-01
      • 2017-07-13
      相关资源
      最近更新 更多