Skip to content

Instantly share code, notes, and snippets.

@niklas
Last active October 26, 2015 21:36
Show Gist options
  • Save niklas/8bcfbcb6c0c2e5219b32 to your computer and use it in GitHub Desktop.
Save niklas/8bcfbcb6c0c2e5219b32 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
sudo aptitude install vim git-core xsane byobu libsane-extras virtualbox-guest-utils ssh
SCANSDIR="$HOME/Scanned"
mkdir -p $SCANSDIR
sudo sed -i "s&exit 0&mount.vboxsf Scanned $SCANSDIR vboxsf\nexit 0&" /etc/rc.local
echo "/etc/rc.local"
tail -n 5 /etc/rc.local
byobu-launcher-install
ifconfig | head -n 3
echo "reboot now, then ls $SCANSDIR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment