fixed method to install oc on vm