From e2bc6967e2abd3352590ec3cf263b7ffcc9765f2 Mon Sep 17 00:00:00 2001 From: flexiOPS Date: Mon, 12 Sep 2016 12:10:19 +0100 Subject: [PATCH] Update serverCreationInitialisation.py --- .../vmpackage/serverCreationInitialisation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ServerInitialisation/vmpackage/serverCreationInitialisation.py b/ServerInitialisation/vmpackage/serverCreationInitialisation.py index 0eb259e..c06ff3d 100644 --- a/ServerInitialisation/vmpackage/serverCreationInitialisation.py +++ b/ServerInitialisation/vmpackage/serverCreationInitialisation.py @@ -8,7 +8,7 @@ MAX_NO_ATTEMPTS = 5 serverUUID = "" isVerbose = False -ENDPOINT = "SERVER ENDPOINT" +ENDPOINT = "https://cp.sd1.flexiant.net:4442/" #Login UUID/username/password customerUUID="" @@ -235,7 +235,7 @@ def rest_list_resource(auth_parms, res_type, payload): #Method used to create the server and deploy it to the platform def create_server(): - hostname = "" + hostname = "https://cp.sd1.flexiant.net:4442/" #Get token to authenticate the user token = getToken(hostname, username, @@ -313,4 +313,4 @@ def api_session(customerUsername, customerUUID, customerPassword): create_server() time.sleep(20) -StartVM(customerUUID,username,password,serverUUID) \ No newline at end of file +StartVM(customerUUID,username,password,serverUUID)