Added venv parameter to createOpenstackEnv

Change-Id: Iaccdfbf841eac938b32b4547947687166fb43d12
diff --git a/src/com/mirantis/mk/Openstack.groovy b/src/com/mirantis/mk/Openstack.groovy
index 8aa5690..029d2a6 100644
--- a/src/com/mirantis/mk/Openstack.groovy
+++ b/src/com/mirantis/mk/Openstack.groovy
@@ -67,14 +67,15 @@
 /**
  * create connection to OpenStack API endpoint
  *
+ * @param path            Path to created venv
  * @param url             OpenStack API endpoint address
  * @param credentialsId   Credentials to the OpenStack API
  * @param project         OpenStack project to connect to
  */
-def createOpenstackEnv(url, credentialsId, project, project_domain="default",
+def createOpenstackEnv(path, url, credentialsId, project, project_domain="default",
     project_id="", user_domain="default", api_ver="2", cacert="/etc/ssl/certs/ca-certificates.crt") {
     def common = new com.mirantis.mk.Common()
-    rcFile = "${env.WORKSPACE}/keystonerc"
+    rcFile = "${path}/keystonerc"
     creds = common.getPasswordCredentials(credentialsId)
     rc = """set +x
 export OS_USERNAME=${creds.username}