apt-get install neurodebian-keyring
apt-get update
+# to cheat the VM check
+touch /dev/vboxguest
# to get all the stuff in recommends
apt-get install dkms neurodebian-guest-additions
# cleanup unwanted stuff
# video drivers (all but vesa)
apt-get purge $(apt-cache search --names-only --installed xserver-xorg-video | grep xserver-xorg-video | cut -d ' ' -f 1,1) xserver-xorg-video-vesa+
+apt-get purge brasero
# and whatever is obsolete
apt-get autoremove --purge
-# install network manager applet
-# but we don't want to have all the openvpn stuff that pull in an armada of
-# things: I did it by hand in aptitude
+# custom config
+# use NeuroDebian website as default homepage
+sed -i -e 's,http://www.debian.org,http://neuro.debian.net,g' /etc/chromium-browser/master_preferences
-# next step purge network interface config to give the power to network manager
-# important
-#adduser brain netdev
+# reduce grub timeout to speed up boot of VM
+sed -i -e 's/GRUB_TIMEOUT=5/GRUB_TIMEOUT=1/g' /etc/default/grub
+update-grub
-#apt-get install flashplugin-nonfree sun-java6-plugin
+# finally configure geomirror for APT and disable deb-src lists
+sed -i -e "s/10.0.0.1:9999/$(dpkg --print-architecture)-geomirror.debian.net/" \
+ -e "s/^deb-src/#deb-src/" /etc/apt/sources.list
+etckeeper commit "Initial VM setup done"