stretch works best with zesty builds

This commit is contained in:
j 2017-08-15 13:32:47 +02:00
parent d6ee3019aa
commit 90e23427e1
2 changed files with 3 additions and 3 deletions

View file

@ -15,8 +15,8 @@
4) Attach to container and install pan.do/ra
sudo lxc-attach -n pandora --clear-env
apt-get update -qq
apt-get -y install curl
apt-get update -qq && apt-get upgrade -y
apt-get -y install curl ca-certificates
sed -i s/ubuntu/pandora/g /etc/passwd /etc/shadow /etc/group
mv /home/ubuntu /home/pandora
echo "pandora:pandora" | chpasswd

View file

@ -18,7 +18,7 @@ else
SYSTEMD="no"
fi
if [ -z "$UBUNTU_CODENAME" ]; then
UBUNTU_CODENAME=xenial
UBUNTU_CODENAME=zesty
fi
export DEBIAN_FRONTEND=noninteractive
echo "deb http://ppa.launchpad.net/j/pandora/ubuntu ${UBUNTU_CODENAME} main" > /etc/apt/sources.list.d/j-pandora.list