The scripts provided create the CMS virtual machine image based on CernVM, with Scientific Linux CERN 6 (slc6).
First, you need to run a normal Micro-CernVM, using your own context so you can login. Copy the attached files to the running VM and then login.
Inside the VM, you first need a copy of the latest Micro-CernVM release as a template for the Open Data image. Download it, inside the running VM, from: http://cernvm.cern.ch/releases/production/cernvm4-micro-2020.04-1.hdd placing it in the same directory as the other files.
Run the script:./cernvm-script
which will produce some output on the terminal, and then finish.
The result should be a file with the title coming from the -n field in the script. In this case, the file we're interested in is: CMS-OpenData-1.5.2.ova
which can be copied from the running VM to elsewhere.
These open data are released under the Creative Commons Zero v1.0 Universal license.
Neither the experiment(s) ( CMS ) nor CERN endorse any works, scientific or otherwise, produced using these data.