mirror of https://github.com/CIRCL/AIL-framework
fix: [install create default user] default passwd file: add missing new line
parent
ed0985f111
commit
7d59dd883e
|
@ -37,7 +37,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
default_passwd_file = os.path.join(os.environ['AIL_HOME'], 'DEFAULT_PASSWORD')
|
default_passwd_file = os.path.join(os.environ['AIL_HOME'], 'DEFAULT_PASSWORD')
|
||||||
to_write_str = '# Password Generated by default\n# This file is deleted after the first login\n#\nemail=admin@admin.test\npassword='
|
to_write_str = '# Password Generated by default\n# This file is deleted after the first login\n#\nemail=admin@admin.test\npassword='
|
||||||
to_write_str = to_write_str + password + '\nAPI_Key=' + token
|
to_write_str = to_write_str + password + '\nAPI_Key=' + token + '\n'
|
||||||
with open(default_passwd_file, 'w') as f:
|
with open(default_passwd_file, 'w') as f:
|
||||||
f.write(to_write_str)
|
f.write(to_write_str)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue