【问题标题】:Vagrant up fails with loading pluginVagrant up 加载插件失败
【发布时间】:2021-06-11 00:28:59
【问题描述】:

zulip 设置需要有 Vagrant 设置。 https://github.com/zulip/zulip 但它在 Ubuntu 14.04 中失败了

$vagrant plugin install vagrant-lxc
Installing the 'vagrant-lxc' plugin. This can take a few minutes...
Installed the plugin 'vagrant-lxc (1.2.1)'!


$vagrant up
Failed to load the "vagrant-lxc" plugin. View logs for more details.
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 box 'ubuntu/trusty64' could not be found.

有什么想法可能会出错吗?

【问题讨论】:

    标签: vagrant ubuntu-14.04 vagrantfile vagrant-plugin zulip


    【解决方案1】:

    问题似乎不是来自插件,而是来自盒子。

    你能用vagrant box add ubuntu/trusty64 https://atlas.hashicorp.com/ubuntu/boxes/trusty64下载盒子吗

    盒子安装好后,你应该可以运行vagrant up

    另外,如果你在普通的 ubuntu 机器上运行,你为什么需要 vagrant-lxc 插件,你的意思是使用另一个机器吗?

    【讨论】:

    • 感谢您的回答。我的 ubuntu 盒子有 vagrant 1.4.3,我升级到 1.7.4。升级后,一切正常。
    猜你喜欢
    • 2016-05-03
    • 1970-01-01
    • 1970-01-01
    • 2023-03-17
    • 2015-03-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多