For testing Mojave mac refresh, i have 2 policies in Self Service. The first download the installer to /Applications. The second policy runs "/Applications/Install macOS Mojave.app/Contents/Resources/startosinstall" --eraseinstall --newvolumename "Macintosh HD" --agreetolicense &
This worked during my original tests, but lately Self Service fails to quit. I can manually close Service and everything works as expected afterwards.
I think I have seen other posts about this, but my searches have come up. blank
We are on JAMFPro 10.8 and testing with 10.14.1