Last active
October 26, 2015 21:36
-
-
Save niklas/8bcfbcb6c0c2e5219b32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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