<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Hi Klaus,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Yes, the way I'm doing it now is to change the default settings path before I import a VM, and then change it back to the system default. I had figured that way myself already :-) It is OK and it does work for now.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;
 background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>I use VBOX 4.3.12 under Gentoo Linux, and I think that is the current VBOX version, isn't it?</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Thanks for your help.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color:
 transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Karoline</span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> Klaus Espenlaub <klaus.espenlaub@oracle.com> schrieb am 12:23 Dienstag, 1.Juli 2014:<br> </font> </div>  <br><br> <div class="y_msg_container">Karoline,<br clear="none"><br clear="none">On 30.06.2014 13:53, Karoline Haus wrote:<br clear="none">> I would like to be able to create a VM under a specific folder.
 In fact,<br clear="none">> I would like to import a VM from an OVA file, and then have that VM<br clear="none">> registered under a specific folder. However, by default VBox will store<br clear="none">> it under $HOME/.VirtualMachines and I cannot figure how I can use the<br clear="none">> API to change the settings file path on VM import? I have seen there is<br clear="none">> an IMachine::setSettingsFilePath function, but I use the Python API and<br clear="none">> it does return a "Not Implemented" error. Is there any other way to<br clear="none">> store VMs under a specific location?<br clear="none"><br clear="none">Changing of the settings file path for an existing VM is a todo, it <br clear="none">needs a lot of groundwork (moving disk images in the directory and the <br clear="none">like).<br clear="none"><br clear="none">What you want is setting the default machine folder before importing, <br clear="none">maybe reverting
 this change afterwards (if you want locally created VMs <br clear="none">still in the default place).<br clear="none"><br clear="none">I'm wondering why your setup uses a .VirtualMachines subdirectory, I <br clear="none">don't see this anywhere in the code. Ancient VirtualBox versions default <br clear="none">to ~/.VirtualBox/Machines, and newer versions default to ~/VirtualBox <br clear="none">VMs, but stick to the old default if it's an upgrade. One can switch to <br clear="none">the new default though, or pick a totally different directory.<br clear="none"><br clear="none">Klaus<div class="yqt8018489134" id="yqtfd85213"><br clear="none">><br clear="none">> Many thanks for any pointers.</div><br clear="none"><br clear="none">_______________________________________________<br clear="none">vbox-dev mailing list<br clear="none"><a shape="rect" ymailto="mailto:vbox-dev@virtualbox.org"
 href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a><br clear="none"><a shape="rect" href="https://www.virtualbox.org/mailman/listinfo/vbox-dev" target="_blank">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><div class="yqt8018489134" id="yqtfd61380"><br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>