list bionic
This commit is contained in:
parent
014df3766c
commit
53c9d13aa7
1 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
# 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
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
|||
|
||||
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
|
||||
|
||||
|
@ -28,12 +28,12 @@
|
|||
4) Attach to container and install pan.do/ra
|
||||
|
||||
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
|
||||
mv /home/ubuntu /home/pandora
|
||||
echo "pandora:pandora" | chpasswd
|
||||
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
|
||||
update-locale LANG=en_US.UTF-8
|
||||
export LANG=en_US.UTF-8
|
||||
|
|
Loading…
Reference in a new issue