Added new option to generate config file.

fix #130
This commit is contained in:
Antoine Nguyen
2017-06-23 09:43:41 +02:00
parent 85aa37d7d5
commit 8052f4aede
4 changed files with 16 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ def check_config_file(dest):
printcolor(
"Configuration file {} not found, creating new one."
.format(dest), YELLOW)
with open("installer.cfg.default") as fp:
with open("installer.cfg.template") as fp:
buf = fp.read()
context = {
"mysql_password": make_password(),