Disable EPEL repo in kitchen CI
The EPEL repo referencing download.fedoraproject.org is frequently timing out on yum install operations. Disable the EPEL and puppetlabs repo with kitchen during CI builds.
This commit is contained in:
parent
74cf95caa3
commit
208ccada51
1 changed files with 2 additions and 1 deletions
|
|
@ -55,6 +55,7 @@ platforms:
|
|||
- sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
|
||||
- sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config
|
||||
- sed -ri 's/^#?UsePAM .*/UsePAM no/' /etc/ssh/sshd_config
|
||||
- rm /etc/yum.repos.d/epel*repo /etc/yum.repos.d/puppetlabs-pc1.repo
|
||||
- yum -y install initscripts
|
||||
- yum clean all
|
||||
run_command: "/usr/sbin/init"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue