myspaghetti / macos-virtualbox

Push-button installer of macOS Catalina, Mojave, and High Sierra guests in Virtualbox on x86 CPUs for Windows, Linux, and macOS
GNU General Public License v2.0
13.46k stars 1.11k forks source link

VDI in /tmp by default #636

Closed blabno closed 1 year ago

blabno commented 1 year ago

The disk image is stored by default in /tmp folder (on linux) which causes problems after reboot.

myspaghetti commented 1 year ago

Hi, thanks for the bug report. The script stores all of its files (except for the VirtualBox VM configuration, which is created by VirtualBox and stored according to its configuration) in the working directory where it is executed. If it's executed on /tmp its files are created there, if it's executed on ~/Downloads its files are created there, and so on. You can choose where to store the files according to the working directory of the script.