Skip to content

Error when running vagrant up #340

Description

@twelch

Installing mercurial with yum failed for me when doing the initial 'vagrant up'. Chef attempts this in the default app cookbook.

The problem is yum is not able to connect to the proper repository via https to find mercurial. The workaround is to switch yum to the http based repositories.

I ended up inserting this in at line 193 of scripts/cookbooks/app/recipes/default.rb

execute "switch yum to http" do
command 'sudo sed -i "s/mirrorlist=https/mirrorlist=http/" /etc/yum.repos.d/epel.repo'
end

It didn't seem reasonable to commit this change unless it keeps happening, a number of people online have mentioned it with this specific version of CentOS 6.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions