Skip to content

Instantly share code, notes, and snippets.

@ozbillwang
Last active August 29, 2015 14:07
Show Gist options
  • Save ozbillwang/5b6fdd4613302ee0575e to your computer and use it in GitHub Desktop.
Save ozbillwang/5b6fdd4613302ee0575e to your computer and use it in GitHub Desktop.
problem fixed for rundeck vagrant startup

Prepare the vagrant server cloned from https://github.com/rundeck/anvils-demo

Vagrant version is 1.6.5 on Mac OS X version 10.9.5

Get error after run "vagrant up"

yum -y install xmlstarlet coreutils
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

Got help from this https://www.centos.org/forums/viewtopic.php?t=1420, and change the file ( /etc/yum.repos.d/epel.repo ) from

#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch

to

baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch

problem is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment