tune vm install
This commit is contained in:
parent
65fb9ccb6d
commit
5f1d8425a1
2 changed files with 8 additions and 5 deletions
|
@ -10,20 +10,20 @@
|
||||||
|
|
||||||
3) Install pan.do/ra in container:
|
3) Install pan.do/ra in container:
|
||||||
|
|
||||||
sudo lxc-start -n pandora
|
sudo lxc-start -n pandora -d
|
||||||
|
|
||||||
Now login as ubuntu/ubuntu and run the following commands:
|
4) Attach to container and install pan.do/ra
|
||||||
|
|
||||||
sudo su
|
sudo lxc-attach -n pandora --clear-env
|
||||||
apt-get update -qq
|
apt-get update -qq
|
||||||
apt-get -y install curl
|
apt-get -y install curl
|
||||||
cd /root
|
cd /root
|
||||||
curl 'https://wiki.0x2620.org/browser/pandora/vm/pandora_install.sh?format=txt' > pandora_install.sh
|
curl -L https://pan.do/ra-install > pandora_install.sh
|
||||||
chmod +x pandora_install.sh
|
chmod +x pandora_install.sh
|
||||||
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
|
||||||
locale-gen en_US.UTF-8
|
locale-gen en_US.UTF-8
|
||||||
dpkg-reconfigure locales
|
dpkg-reconfigure locales
|
||||||
./pandora_install.sh
|
./pandora_install.sh | tee pandora_install.log
|
||||||
|
|
||||||
|
|
|
@ -246,4 +246,7 @@ hi SpellBad ctermbg=0
|
||||||
nnoremap <F2> :set invpaste paste?<CR>
|
nnoremap <F2> :set invpaste paste?<CR>
|
||||||
set pastetoggle=<F2>
|
set pastetoggle=<F2>
|
||||||
set showmode
|
set showmode
|
||||||
|
|
||||||
|
set lcs=tab:→·,trail:·,nbsp:˽
|
||||||
|
set list
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue