我正在尝试第一次使用Vagrant启动一个标准的Ubuntu镜像。我的公司已经在我的笔记本电脑上安装了Vagrant并安装了一些AWS插件。当我尝试在个人Ubuntu镜像上运行vagrant up
时,出现以下错误:
There are errors in the configuration of this machine. Please fix
the following errors and try again:
AWS Provider:
* An access key ID must be specified via "access_key_id"
* A secret access key is required via "secret_access_key"
* An AMI must be configured via "ami" (region: #{region})
我并不是在尝试连接AWS,我只是想在我的笔记本电脑上设置我的第一张个人图片。
provider
部分吗? - BMWVagrantfile
中的所有内容都是默认的,在vagrant init
命令创建时生成的。该文件中唯一没有被注释掉的部分是config.vm.box ="puphpet/ubuntu1404-x64"
。 - imagineerThat--provider
选项运行 Vagrant? - BMWvagrant up --provider virtualbox
。谢谢! - imagineerThatenv | grep VAGRANT
进行检查。然后,您可以通过更改值或删除变量来禁用默认的 AWS 提供者。 - Frederic Henri