forked from 0x2620/pandora
rename install script to pandora_install.sh
This commit is contained in:
parent
15e2f1e844
commit
d15e6c9629
3 changed files with 4 additions and 4 deletions
|
@ -18,12 +18,12 @@ Now login as ubuntu/ubuntu and run the following commands:
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get -y install avahi-daemon curl
|
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/pandora_install.sh?format=txt' > pandora_install.sh
|
||||||
chmod +x firstboot.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
|
||||||
./firstboot.sh
|
./pandora_install.sh
|
||||||
|
|
||||||
|
|
|
@ -26,5 +26,5 @@ sudo vmbuilder $hypervisor ubuntu --suite=trusty \
|
||||||
--pass $password \
|
--pass $password \
|
||||||
--addpkg linux-image-generic \
|
--addpkg linux-image-generic \
|
||||||
--components main,universe,multiverse \
|
--components main,universe,multiverse \
|
||||||
--firstboot=$base/firstboot.sh \
|
--firstboot=$base/pandora_install.sh \
|
||||||
$extra
|
$extra
|
||||||
|
|
Loading…
Reference in a new issue