diff options
Diffstat (limited to 'kpov_judge/tasks')
-rw-r--r-- | kpov_judge/tasks/openvpn_simple_smb/task.py | 4 |
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) |