[test] fix debian-8 provisioning in kitchen tests (#556)
Jessie backport repos have been removed from debian mirrors and moved to archive mirrors (cf. https://lists.debian.org/debian-devel-announce/2019/03/msg00006.html). We also need to disable validity checks as this repo is no more updated (https://unix.stackexchange.com/questions/508724/failed-to-fetch-jessie-backports-repository)
This commit is contained in:
parent
f051e80d0c
commit
07287ebecd
1 changed files with 2 additions and 1 deletions
|
|
@ -75,7 +75,8 @@ platforms:
|
||||||
image: debian:8
|
image: debian:8
|
||||||
privileged: true
|
privileged: true
|
||||||
provision_command:
|
provision_command:
|
||||||
- echo "deb http://http.debian.net/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
|
- echo "deb http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
|
||||||
|
- echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf
|
||||||
- apt-get update && apt-get -y install -t jessie-backports openjdk-8-jre-headless
|
- apt-get update && apt-get -y install -t jessie-backports openjdk-8-jre-headless
|
||||||
- apt-get update && apt-get -y install python python-dev python-pip build-essential libyaml-dev python-yaml curl wget net-tools
|
- apt-get update && apt-get -y install python python-dev python-pip build-essential libyaml-dev python-yaml curl wget net-tools
|
||||||
- sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
|
- sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue