how to apply an example spec to a VM