From f200b4ba9bd76b75e2f75a3140f9d02be52d34c4 Mon Sep 17 00:00:00 2001 From: Bach Dániel <bd@doszgep.hu> Date: Thu, 4 Apr 2013 16:56:25 +0200 Subject: [PATCH] one: cloud-%d.vm.ik.bme.hu -> %d.vm.ik.bme.hu --- one/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/one/models.py b/one/models.py index 72e83f7..201f741 100644 --- a/one/models.py +++ b/one/models.py @@ -511,7 +511,7 @@ class Instance(models.Model): inst = Instance(pw=pwgen(), template=template, owner=owner, share=share, state='PENDING') inst.save() - hostname = u"cloud-%d" % (inst.id, ) + hostname = u"%d" % (inst.id, ) with tempfile.NamedTemporaryFile(delete=False) as f: os.chmod(f.name, stat.S_IRUSR|stat.S_IWUSR|stat.S_IRGRP|stat.S_IROTH) token = signing.dumps(inst.id, salt='activate') -- libgit2 0.26.0