geerlingguy/macos-virtualbox-vm

add support for Big Sur

dspolleke opened this issue · 2 comments

I have tested manually to create a virtualbox-based vm. and it works. The script does not accomodate for it.

May create PR to add it.

Well a lot of code could be replaced with:

`
installerAppName=(find /Applications -name "Install OS X *.app" )

isoName=$(basename ${installerAppName} | sed -e 's/Install OS X //g' -e 's/ /_/g' -e s/.app/.iso/g)
`
It will look up any available OS X installers and will create a isoName variable.
It will work on any name you throw at it as long as Apple keeps the "Install OS X " part.