cleanup lxc instructions

This commit is contained in:
j 2014-02-13 12:50:35 +00:00
parent 11fa676c3d
commit 456e8a4d72

View file

@ -15,10 +15,10 @@
Now login as ubuntu/ubuntu and run the following commands: Now login as ubuntu/ubuntu and run the following commands:
$ sudo su $ sudo su
$ apt-get -y install avahi-daemon curl
$ cd /root $ cd /root
$ curl 'https://wiki.0x2620.org/browser/pandora/vm/firstboot.sh?format=txt' > firstboot.sh $ curl 'https://wiki.0x2620.org/browser/pandora/vm/firstboot.sh?format=txt' > firstboot.sh
$ chmod +x firstboot $ chmod +x firstboot.sh
$ apt-get -y install avahi-daemon
$ 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