]> git.donarmstrong.com Git - neurodebian.git/blobdiff - tools/nd_setupguestos
reenable Language -- many people already use it
[neurodebian.git] / tools / nd_setupguestos
index 1dc1f4ce72223a243f7d17f88942ca03e036f6bd..f14fb1190cabafeff5a076e46179ce0f9c1cebcb 100644 (file)
@@ -55,6 +55,8 @@ apt-get update
 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
 
@@ -69,17 +71,21 @@ find /var/cache/apt/archives/ -name '*.deb' -delete
 # 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"