list bionic

This commit is contained in:
j 2019-10-31 11:10:14 +01:00
parent 014df3766c
commit 53c9d13aa7

View file

@ -4,7 +4,7 @@
# Installing pan.do/ra inside LXC # Installing pan.do/ra inside LXC
1) Install lxc on the host (Ubuntu 16.04 or later): 1) Install lxc on the host (Ubuntu 18.04 or later):
sudo apt-get install lxc sudo apt-get install lxc
@ -15,7 +15,7 @@
2) Create a new container, use different names if installing multiple instances: 2) Create a new container, use different names if installing multiple instances:
sudo lxc-create -n pandora -t ubuntu -- -r xenial sudo lxc-create -n pandora -t ubuntu-cloud -- -r bionic
or or
@ -28,12 +28,12 @@
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 upgrade -y
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
echo PasswordAuthentication no >> /etc/ssh/sshd_config echo PasswordAuthentication no >> /etc/ssh/sshd_config
apt-get update -qq && apt-get upgrade -y
apt-get -y install curl ca-certificates
locale-gen en_US.UTF-8 locale-gen en_US.UTF-8
update-locale LANG=en_US.UTF-8 update-locale LANG=en_US.UTF-8
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8