kaorimatz / packer-templates

Packer templates for Vagrant base boxes
MIT License
491 stars 244 forks source link

Update repo.sh for rpm version change #4

Closed MichaelPereira closed 8 years ago

MichaelPereira commented 8 years ago

Hi, the original epel-release-7-5.noarch.rpm was updated to epel-release-7-6.noarch.rpm, which causes the following packer error:

==> vmware-iso: Provisioning with shell script: scripts/centos-7.2/repo.sh
    vmware-iso: + sudo yum -y install https://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
    vmware-iso: Loaded plugins: fastestmirror
    vmware-iso: Cannot open: https://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm. Skipping.
    vmware-iso: Error: Nothing to do
==> vmware-iso: Stopping virtual machine...

This changes fixes the problem

MichaelPereira commented 8 years ago

The travis check error is unrelated:

http://releases.ubuntu.com/15.04/ubuntu-15.04-server-amd64.iso is not available: Not Found
rake aborted!
kaorimatz commented 8 years ago

Thanks for the fix!