小编Sam*_*mHH的帖子

Vagrant配置错误 - "必须指定一个框".

盒子工作正常.然后我停了一个(当时唯一一个跑步的人),现在我无法让他们中的任何一个回来.


跑步vagrant up [name]给我以下错误,无论我选择哪一个,或者我是否留下vagrant up它们都出现:

There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* A box must be specified.
Run Code Online (Sandbox Code Playgroud)

运行最新版本的Vagrant(1.7.4).

这是我的Vagrantfile的全部内容,包括评论(以防万一):

# Search for boxes here: https://atlas.hashicorp.com/boxes/search
# Refer to commands_vagrant.txt for command reference

Vagrant.configure("2") do |config|

    # Globally defined variables
    config.vm.synced_folder "./", "/var/www/public"

    # CentOS 6.5, Apache 2.2.15, MySQL 5.5.36 (-u root), PHP 5.3.28
    # Note: If PHP session keys don't work, set permissions to …
Run Code Online (Sandbox Code Playgroud)

vagrant vagrantfile

10
推荐指数
1
解决办法
1万
查看次数

标签 统计

vagrant ×1

vagrantfile ×1