update set_var module

This commit is contained in:
Matthieu Lamalle 2021-07-08 14:37:33 +02:00
parent a2f7313cc5
commit 89b75f0147
1 changed files with 5 additions and 0 deletions

View File

@ -63,6 +63,11 @@ def main():
fh = open("/etc/eole/config.eol", 'w')
fh.write(cjson.encode(store))
fh.close()
if not save :
to_save = raw_input("Souhaitez vous sauvegarder la configuration sur Zephir ? (O/N) ")
if to_save == "O":
save = True
if save:
cmd="""/usr/share/zephir/scripts/zephir_client save_files"""
output = os.popen(cmd)