Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Commit

Permalink
Merging pull request 6
Browse files Browse the repository at this point in the history
Signed-off-by: Lukáš Doktor <[email protected]>

* https://github.com/avocado-framework/avocado-ec2:
  update repo url for installing avocado
  • Loading branch information
ldoktor committed Feb 13, 2018
2 parents f896612 + bdb4ed7 commit 6565c56
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions avocado_ec2/plugins/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,17 @@ def _install_avocado(self, distro_type):
log.error(e_msg)
raise ValueError(e_msg)
if distro_type == 'fedora':
remote_repo = ('https://repos-avocadoproject.rhcloud.com/static/'
remote_repo = ('https://avocado-project.org/data/repos/'
'avocado-fedora.repo')
local_repo = '/etc/yum.repos.d/avocado.repo'
retrieve_cmd = 'sudo curl %s -o %s' % (remote_repo, local_repo)
install_cmd = 'sudo dnf install -y avocado'
install_cmd = 'sudo dnf install -y python-avocado'
elif distro_type == 'el':
remote_repo = ('https://repos-avocadoproject.rhcloud.com/static/'
remote_repo = ('https://avocado-project.org/data/repos/'
'avocado-el.repo')
local_repo = '/etc/yum.repos.d/avocado.repo'
retrieve_cmd = 'sudo curl %s -o %s' % (remote_repo, local_repo)
install_cmd = 'sudo yum install -y avocado'
install_cmd = 'sudo yum install -y python-avocado'
elif distro_type == 'ubuntu':
remote_repo = ('deb http://ppa.launchpad.net/lmr/avocado/ubuntu '
'wily main')
Expand Down

0 comments on commit 6565c56

Please sign in to comment.