VBOX_USER_HOME usage
Posted: 14. Aug 2010, 00:11
Hi there,
I'm trying to find a way to use VBOX_USER_HOME variable.
I've already read the two threads about this variable but they did not answer my questions.
I would like to know if it is possible to start VirtualBox from a script (shell for example) and have VBOX_USER_HOME set to another one than default.
I tried like this :
This is not working. Apparently VBoxSVC does not take VBOX_USER_HOME into account until restart.
Is there an easy way to make this work ? Can VBoxSVC be restarted in a script ?
Thank you in advance for your help.
I'm trying to find a way to use VBOX_USER_HOME variable.
I've already read the two threads about this variable but they did not answer my questions.
I would like to know if it is possible to start VirtualBox from a script (shell for example) and have VBOX_USER_HOME set to another one than default.
I tried like this :
Code: Select all
#!/bin/sh
export VBOX_USER_HOME=`pwd`"/VirtualBox/data/.VirtualBox"
VirtualBox
This is not working. Apparently VBoxSVC does not take VBOX_USER_HOME into account until restart.
Is there an easy way to make this work ? Can VBoxSVC be restarted in a script ?
Thank you in advance for your help.