kolla/tools/setup_Debian.sh
Radosław Piliszek ff6e229ed4 CI: clean up setup
Removes stuff which does not belong here, along with the docker
daemon systemd service overrides.

Also re-enables IPv6 on CentOS node.

Change-Id: I45238b087647e733544561d333aa560f82e2a07c
2019-10-29 08:20:19 +01:00

22 lines
580 B
Bash
Executable File

#!/bin/bash
set -o xtrace
set -o errexit
# (SamYaple)TODO: Remove the path overriding
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Setup Docker repo and add signing key
distro_id=$(lsb_release -is)
distro_id=${distro_id,,}
distro_codename=$(lsb_release -cs)
sudo add-apt-repository "deb $DOCKER_REPOS_MIRROR_URL/${distro_id} ${distro_codename} stable"
curl -fsSL $DOCKER_REPOS_MIRROR_URL/${distro_id}/gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install --no-install-recommends docker-ce
sudo docker info
echo "Completed $0."