Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on mac #1

Closed
kstenerud opened this issue May 25, 2015 · 2 comments
Closed

Doesn't work on mac #1

kstenerud opened this issue May 25, 2015 · 2 comments

Comments

@kstenerud
Copy link

$ utils/init.sh
+ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/trusty64'
    default: URL: https://vagrantcloud.com/ubuntu/trusty64
==> default: Adding box 'ubuntu/trusty64' (v20150521.0.0) for provider: virtualbox
    default: Downloading: https://atlas.hashicorp.com/ubuntu/boxes/trusty64/versions/20150521.0.0/providers/virtualbox.box
==> default: Successfully added box 'ubuntu/trusty64' (v20150521.0.0) for 'virtualbox'!
==> default: Importing base box 'ubuntu/trusty64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/trusty64' is up to date...
==> default: Setting the name of the VM: vagrant-aosp_default_1432592984723_67620
==> default: Clearing any previously set forwarded ports...
==> default: Pruning invalid NFS exports. Administrator privileges will be required...
Password:
==> default: Clearing any previously set network interfaces...
==> default: Available bridged network interfaces:
1) en0: Wi-Fi (AirPort)
2) en5: Thunderbolt 1
3) en6: Thunderbolt 2
4) bridge0
5) p2p0
    default: What interface should the network bridge to? en0
    default: What interface should the network bridge to? 1
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: bridged
==> default: Forwarding ports...
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /vagrant => /Users/karl/docker/vagrant/vagrant-aosp
==> default: Running provisioner: docker...
    default: Installing Docker (latest) onto machine...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

curl http://get.docker.io/gpg | apt-key add -

Stdout from the command:



Stderr from the command:

stdin: is not a tty
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
gpg: no valid OpenPGP data found.

[karl@Cogito:vagrant-aosp(master)]$
@kylemanna
Copy link
Owner

What version of Vagrant are you running? It's curling the wrong URL. There have been at least a few commits to Vagrant that have changed the URL for the Docker provisioner since the your URL your logs mention:

Furthermore, running curl http://get.docker.io/gpg doesn't work for me, but the latest does work for me.

For reference Vagrant 1.7.2 on Linux works as expected. Try updating vagrant.

@kstenerud
Copy link
Author

Doh. Been awhile since I fired up Vagrant I guess :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants