Last active
August 29, 2015 14:01
-
-
Save BlinkyStitt/efa3e2bd87c7d12a5f9c to your computer and use it in GitHub Desktop.
vagrant 1.6.0 shell error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vagrant -v | |
Vagrant 1.6.0 | |
$ vagrant plugin list | |
vagrant-aws (0.4.1) | |
vagrant-login (1.0.1, system) | |
vagrant-share (1.0.1, system) | |
vagrant-triggers (0.3.0) | |
vagrant-vbguest (0.10.0) | |
vagrant-vbox-snapshot (0.0.4) | |
$ cat Vagrantfile | |
Vagrant.configure("2") do |config| | |
config.vm.provision "shell", | |
inline: "echo Hello, World" | |
config.vm.box = "precise" | |
config.ssh.username = "myuser" | |
config.ssh.private_key_path = "~/.ssh/id_rsa" | |
config.vm.provider :aws do |aws, override| | |
aws.access_key_id = "XXXX" | |
aws.secret_access_key = "YYYY" | |
aws.keypair_name = "ZZZZ" | |
end | |
end | |
$ vagrant up --provider virtualbox | |
WORKS AS EXPECTED | |
$ vagrant up --provider aws | |
Bringing machine 'default' up with 'aws' provider... | |
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.1 | |
[fog][WARNING] Unable to load the 'unf' gem. Your AWS strings may not be properly encoded. | |
==> default: HandleBoxUrl middleware is deprecated. Use HandleBox instead. | |
==> default: This is a bug with the provider. Please contact the creator | |
==> default: of the provider you use to fix this. | |
==> default: Warning! The AWS provider doesn't support any of the Vagrant | |
==> default: high-level network configurations (`config.vm.network`). They | |
==> default: will be silently ignored. | |
==> default: Launching an instance with the following settings... | |
==> default: -- Type: m1.small | |
==> default: -- AMI: ami-12345678 | |
==> default: -- Region: us-east-1 | |
==> default: -- Keypair: ZZZZ | |
==> default: -- Block Device Mapping: [] | |
==> default: -- Terminate On Shutdown: false | |
==> default: -- Monitoring: false | |
==> default: -- EBS optimized: false | |
==> default: Waiting for instance to become "ready"... | |
==> default: Waiting for SSH to become available... | |
==> default: Machine is booted and ready for use! | |
==> default: Rsyncing folder: /private/tmp/foo2/ => /vagrant | |
==> default: Running provisioner: shell... | |
There are errors in the configuration of this machine. Please fix | |
the following errors and try again: | |
shell provisioner: | |
* The following settings shouldn't exist: vm | |
I opened a bug, feel free to chime in:
some error for lxc provider
This should be fixed on git after hashicorp/vagrant@1eec62c
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Me too unfortunately. I spend half a day trying to diagnose this error. Still lost though. Does anyone know a workaround?