I have a macmini which came with Mountain Lion preinstalled as from factory. I need to create a virtual machine on this macmini (OSX host/OSX guest) with the same version for end-user deployment testing. I went to the apple store to get the installer, but I can only get mavericks, and I want to test deployment on 10.8. How can I get a ML installer so I can use vmware or virtualbox to install osx in the virtual image?
You can purchase Mountain Lion from the Apple Store.
This gives you a code which lets you redeem Moutain Lion from the Mac App Store and download the installer.