summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks
diff options
context:
space:
mode:
authorss5781@student.uni-lj.si <ss5781@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-02-03 14:14:24 +0000
committerss5781@student.uni-lj.si <ss5781@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-02-03 14:14:24 +0000
commitade0967e79f2077983037be32faeef5e30622941 (patch)
tree450fe7b927b0ea2d633beb6575cf27dae3f91a75 /kpov_judge/tasks
parent9c72d4b26bf6211833bc9e1e154fdeb45a889b7e (diff)
popravek generiranja kljucev v prepare disk
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@265 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks')
-rw-r--r--kpov_judge/tasks/openvpn_simple_smb/task.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kpov_judge/tasks/openvpn_simple_smb/task.py b/kpov_judge/tasks/openvpn_simple_smb/task.py
index ce47d3f..251e05d 100644
--- a/kpov_judge/tasks/openvpn_simple_smb/task.py
+++ b/kpov_judge/tasks/openvpn_simple_smb/task.py
@@ -310,9 +310,9 @@ def prepare_disks(templates, params):
s = "\n".join([
"".join([r.choice("0123456789abcdef") for i in xrange(16)])
for i in xrange(16)])
- s = """-----BEGIN OpenVPN Static Key V1-----
+ s = """-----BEGIN OpenVPN Static key V1-----
{}
------END OpenVPN Static Key V1-----
+-----END OpenVPN Static key V1-----
""".format(s)
keyfile = kpov_random_helpers.fname_gen(r, extension=False) + ".key"
templates['SimpleArbiterVPN'].write("/etc/openvpn/secret.key", s)