-
Notifications
You must be signed in to change notification settings - Fork 0
/
VMSetup.sh
executable file
·37 lines (30 loc) · 1.24 KB
/
VMSetup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Text color variables
und=$(tput sgr 0 1) # Underline
bold=$(tput bold) # Bold
red=$(tput setaf 1) # Red
blue=$(tput setaf 4) # Blue
wht=$(tput setaf 7) # White
reset=$(tput sgr0) # Reset
redbold=${red}${bold}
echo -e $redbold"Updating System\n"$reset
aptitude update && aptitude safe-upgrade > /dev/null
echo -e $blue"Installing python-software-properties"$reset
aptitude install -y python-software-properties linux-headers-generic dkms linux-headers-$(uname -r)
echo -e $blue"Done.\n"$reset
add-apt-repository ppa:gnome3-team/gnome3
aptitude update
echo -e $blue"Installing lightdm, gnome-shell"$reset
aptitude install -y lightdm gnome-shell > /dev/null
echo -e $blue"Done.\n"$reset
echo -e $blue"Configuring lightdm"$reset
dpkg-reconfigure lightdm
echo -e $blue"Done.\n"$reset
echo -e $blue"Installing extra software"$reset
aptitude install -y gnome-terminal gnome-tweak-tool gnome-themes-ubuntu gedit evince file-roller gnome-utils gdebi update-manager gnome-themes gnome-themes-extras ubuntu-artwork > /dev/null
aptitude -y install virtualbox-guest-utils > /dev/null
echo -e $blue"Done.\n"$reset
echo -e $blue"Cleaning up"$reset
aptitude -y -f install > /dev/null
aptitude clean > /dev/null
echo -e $blue"Done.\n"$reset
reboot