From ea58ae1c93f8e8a4b7d07d21e07537f293453a92 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 30 Sep 2014 14:29:50 +0200 Subject: [PATCH] remove $ from commands --- vm/LXC_README.txt | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/vm/LXC_README.txt b/vm/LXC_README.txt index 0c301e766..75fc5264c 100644 --- a/vm/LXC_README.txt +++ b/vm/LXC_README.txt @@ -2,28 +2,28 @@ 1) Install lxc on the host (Ubuntu 12.04 or later): - $ sudo apt-get install lxc + sudo apt-get install lxc 2) Create a new container, use different names if installing multiple instances: - $ sudo lxc-create -n pandora-dev -t ubuntu -- -r precise + sudo lxc-create -n pandora -t ubuntu -- -r precise 3) Install pan.do/ra in container: - $ sudo lxc-start -n pandora-dev + sudo lxc-start -n pandora Now login as ubuntu/ubuntu and run the following commands: - $ sudo su - $ apt-get update - $ apt-get -y install avahi-daemon curl - $ cd /root - $ curl 'https://wiki.0x2620.org/browser/pandora/vm/firstboot.sh?format=txt' > firstboot.sh - $ chmod +x firstboot.sh - $ sed -i s/ubuntu/pandora/g /etc/passwd /etc/shadow /etc/group - $ mv /home/ubuntu /home/pandora - $ echo "pandora:pandora" | chpasswd - $ locale-gen en_US.UTF-8 - $ dpkg-reconfigure locales - $ ./firstboot.sh + sudo su + apt-get update + apt-get -y install avahi-daemon curl + cd /root + curl 'https://wiki.0x2620.org/browser/pandora/vm/firstboot.sh?format=txt' > firstboot.sh + chmod +x firstboot.sh + sed -i s/ubuntu/pandora/g /etc/passwd /etc/shadow /etc/group + mv /home/ubuntu /home/pandora + echo "pandora:pandora" | chpasswd + locale-gen en_US.UTF-8 + dpkg-reconfigure locales + ./firstboot.sh