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

Document how to get geerlingguy/centos6 Vagrant box #7

Closed
pdurbin opened this issue Nov 7, 2016 · 4 comments
Closed

Document how to get geerlingguy/centos6 Vagrant box #7

pdurbin opened this issue Nov 7, 2016 · 4 comments

Comments

@pdurbin
Copy link
Collaborator

pdurbin commented Nov 7, 2016

I'm resuming work on IQSS/dataverse#3352 and thought I'd run vagrant up so I have a DCM instance to develop against. I got this error:

murphy:data-capture-module pdurbin$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'geerlingguy/centos6' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
The box 'geerlingguy/centos6' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/geerlingguy/centos6"]
Error: 
murphy:data-capture-module pdurbin$
@pdurbin
Copy link
Collaborator Author

pdurbin commented Nov 7, 2016

@pameyer do you care if I switch it to this one? https://github.com/IQSS/dataverse/blob/v4.5.1/Vagrantfile#L16

@pdurbin
Copy link
Collaborator Author

pdurbin commented Nov 7, 2016

Uh oh, problems with that base box too: IQSS/dataverse#3460

@pameyer
Copy link
Member

pameyer commented Nov 7, 2016

Does vagrant box add geerlingguy/centos6 (or analogous for the other box) also fail?

@pdurbin
Copy link
Collaborator Author

pdurbin commented Nov 7, 2016

I'm guessing I'm running into hashicorp/vagrant#7969 since I'm running Vagrant 1.8.7 as I mentioned at IQSS/dataverse#3460

There's a suggestion at hashicorp/vagrant#7970 that there's something wrong with /opt/vagrant/embedded/bin/curl so I moved it aside and now I'm able to download the box:

murphy:data-capture-module pdurbin$ file /opt/vagrant/embedded/bin/curl
/opt/vagrant/embedded/bin/curl: Mach-O 64-bit executable x86_64
murphy:data-capture-module pdurbin$ sudo mv /opt/vagrant/embedded/bin/curl /opt/vagrant/embedded/bin/curl.moved
Password:
murphy:data-capture-module pdurbin$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'geerlingguy/centos6' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'geerlingguy/centos6'
    default: URL: https://atlas.hashicorp.com/geerlingguy/centos6
==> default: Adding box 'geerlingguy/centos6' (v1.1.3) for provider: virtualbox
    default: Downloading: https://atlas.hashicorp.com/geerlingguy/boxes/centos6/versions/1.1.3/providers/virtualbox.box
==> default: Successfully added box 'geerlingguy/centos6' (v1.1.3) for 'virtualbox'!
==> default: Importing base box 'geerlingguy/centos6'...

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