Last active
August 29, 2015 14:12
-
-
Save namjae/93eae1813579a96e5053 to your computer and use it in GitHub Desktop.
VBoxTool setup
This file contains hidden or 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/bash | |
| # simple setup of vboxtool(http://vboxtool.svn.sourceforge.net/) | |
| # requires root | |
| # VIRTUAL MACHINE NAME HERE & VIRTUALBOX_USER_ID_HERE should be replaced | |
| svn checkout svn://svn.code.sf.net/p/vboxtool/code/trunk vboxtool-code | |
| pushd . | |
| cd vboxtool-code/ | |
| #cat readme.txt # following instructions are all from this file | |
| cp script/vboxtool /usr/local/bin/ | |
| chmod +x /usr/local/bin/vboxtool | |
| cp script/vboxtoolinit /etc/init.d/ | |
| chmod +x /etc/init.d/vboxtoolinit | |
| update-rc.d vboxtoolinit defaults 99 10 # enable autostart : (disable: update-rc.d -f vboxtoolinit remove) | |
| mkdir /etc/vboxtool | |
| echo "VIRTUAL MACHINE NAME HERE," > /etc/vboxtool/machines.conf # note that the trailing comma | |
| echo "vbox_user='VIRTUALBOX_USER_ID_HERE'" > /etc/vboxtool/vboxtool.conf | |
| popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment