File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,18 @@ jobs:
105105 FILE='spec/fixtures/litmus_inventory.yaml'
106106 sed -e 's/password: .*/password: "[redacted]"/' < $FILE || true
107107
108+ - name : " Fix Debian 10 EOL repositories"
109+ if : contains(matrix.platforms.image, 'debian-10') || contains(matrix.platforms.image, 'buster')
110+ run : |
111+ bundle exec bolt command run "
112+ sed -i 's|deb.debian.org|archive.debian.org|g' /etc/apt/sources.list &&
113+ sed -i 's|security.debian.org|archive.debian.org|g' /etc/apt/sources.list &&
114+ sed -i '/buster-updates/d' /etc/apt/sources.list &&
115+ echo 'Acquire::Check-Valid-Until \"false\";' > /etc/apt/apt.conf.d/99no-check-valid-until &&
116+ echo 'Acquire::AllowInsecureRepositories \"true\";' > /etc/apt/apt.conf.d/99allow-insecure &&
117+ echo 'Acquire::AllowDowngradeToInsecureRepositories \"true\";' >> /etc/apt/apt.conf.d/99allow-insecure
118+ " -t ssh_nodes -i spec/fixtures/litmus_inventory.yaml
119+
108120 - name : " Install Puppet agent"
109121 run : |
110122 if [[ "${{ matrix.collection.version }}" ]] ; then
You can’t perform that action at this time.
0 commit comments