stretch works best with zesty builds
This commit is contained in:
parent
d6ee3019aa
commit
90e23427e1
2 changed files with 3 additions and 3 deletions
|
@ -15,8 +15,8 @@
|
||||||
4) Attach to container and install pan.do/ra
|
4) Attach to container and install pan.do/ra
|
||||||
|
|
||||||
sudo lxc-attach -n pandora --clear-env
|
sudo lxc-attach -n pandora --clear-env
|
||||||
apt-get update -qq
|
apt-get update -qq && apt-get upgrade -y
|
||||||
apt-get -y install curl
|
apt-get -y install curl ca-certificates
|
||||||
sed -i s/ubuntu/pandora/g /etc/passwd /etc/shadow /etc/group
|
sed -i s/ubuntu/pandora/g /etc/passwd /etc/shadow /etc/group
|
||||||
mv /home/ubuntu /home/pandora
|
mv /home/ubuntu /home/pandora
|
||||||
echo "pandora:pandora" | chpasswd
|
echo "pandora:pandora" | chpasswd
|
||||||
|
|
|
@ -18,7 +18,7 @@ else
|
||||||
SYSTEMD="no"
|
SYSTEMD="no"
|
||||||
fi
|
fi
|
||||||
if [ -z "$UBUNTU_CODENAME" ]; then
|
if [ -z "$UBUNTU_CODENAME" ]; then
|
||||||
UBUNTU_CODENAME=xenial
|
UBUNTU_CODENAME=zesty
|
||||||
fi
|
fi
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
echo "deb http://ppa.launchpad.net/j/pandora/ubuntu ${UBUNTU_CODENAME} main" > /etc/apt/sources.list.d/j-pandora.list
|
echo "deb http://ppa.launchpad.net/j/pandora/ubuntu ${UBUNTU_CODENAME} main" > /etc/apt/sources.list.d/j-pandora.list
|
||||||
|
|
Loading…
Reference in a new issue