geerlingguy / macos-virtualbox-vm

Instructions and script to help you create a VirtualBox VM running macOS.
MIT License
2.55k stars 314 forks source link

command line params (source, destination), added temp dir config ability #48

Open kylegoetz opened 6 years ago

kylegoetz commented 6 years ago

Current README file says you can specify source file and destination path in the command line arguments, but script ignores them. I added that functionality in.

Also I added in the ability to specify a tmp directory for intermediate steps because this process took up 13 GB of space on my laptop that I didn't have available.

If tmp directory is not specified, script defaults to /tmp, which is what was originally in the script.