Commit 4bc4164e authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis

ci: Prefer IPv4 over IPv6

Set up the newly created machine to prefer IPv4 connections
(mainly for apt-get) over IPv6 connections.
parent ac16ff0b
......@@ -303,6 +303,7 @@ class SynnefoCI(object):
self.logger.debug("Setup apt. Install x2goserver and firefox")
cmd = """
echo 'APT::Install-Suggests "false";' >> /etc/apt/apt.conf
echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf
apt-get update
apt-get install curl --yes --force-yes
echo -e "\n\n{0}" >> /etc/apt/sources.list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment