This commit is contained in:
ahmadbilalkhalid 2019-08-27 18:33:26 +05:00
commit 0a521eac33
7 changed files with 151 additions and 17 deletions

View file

@ -24,11 +24,11 @@ def setup(path, auth_name, auth_seed, auth_realm,
op_result = GitOperation.clone("https://code.ungleich.ch/ungleich-public/ucloud-api.git")
content = f"AUTH_NAME={auth_name}" \
f"AUTH_SEED={auth_seed}" \
f"AUTH_REALM={auth_seed}" \
f"REALM_ALLOWED={list(realm_allowed)}" \
f"OTP_SERVER={otp_server}"
content = f"AUTH_NAME={auth_name}\n" \
f"AUTH_SEED={auth_seed}\n" \
f"AUTH_REALM={auth_seed}\n" \
f"REALM_ALLOWED={list(realm_allowed)}\n" \
f"OTP_SERVER={otp_server}\n"
op_result.add(FileOperation.write,
path=os.path.join("ucloud-api", ".env"),