Adapt installation script to any machine (#258)

* Adapt script to any machine

Adapt script to any machine, independent of the user. We support for installations in VM Ubuntu

* Clear user-bootstrap.sh

* Update user-bootstrap.sh

* Adapt installation script to any machine
This commit is contained in:
David
2019-06-13 14:32:15 +02:00
committed by Nate Foster
parent 573f716edc
commit b5c82700b8
3 changed files with 30 additions and 35 deletions

View File

@@ -10,7 +10,7 @@ apt-get update
KERNEL=$(uname -r)
DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade
apt-get install -y --no-install-recommends \
apt-get install -y --no-install-recommends --fix-missing\
atom \
autoconf \
automake \
@@ -73,11 +73,11 @@ chmod 440 /etc/sudoers.d/99_p4
usermod -aG vboxsf p4
cd /usr/share/lubuntu/wallpapers/
cp /home/vagrant/p4-logo.png .
cp ~/p4-logo.png .
rm lubuntu-default-wallpaper.png
ln -s p4-logo.png lubuntu-default-wallpaper.png
rm /home/vagrant/p4-logo.png
cd /home/vagrant
rm ~/p4-logo.png
cd ~
sed -i s@#background=@background=/usr/share/lubuntu/wallpapers/1604-lubuntu-default-wallpaper.png@ /etc/lightdm/lightdm-gtk-greeter.conf
# Disable screensaver