From f030f3fbb514446cf747c4f9e37541346258ebbc Mon Sep 17 00:00:00 2001 From: deflax Date: Thu, 3 Nov 2016 06:28:44 +0200 Subject: [PATCH] fixing vmcreate --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 8dc0668..a737ce0 100644 --- a/plugin.py +++ b/plugin.py @@ -72,7 +72,7 @@ def vmcreate(req): #generators #slave_name = str(grid.query_happiness(region_id, weight)) #TODO: provide weight parameters here and calculate route - slave_name = 'lexx' #staic route + slave_name = 'warrior' #staic route #vmid = str(grid.generate_vmid()) #TODO: this should be between 100 and 65000 vmid = random.randint(200, 62000) cube_id = time.time() #TODO: make sure this is unique. time since epoch is not random enough but should do the trick for now