refs #1198 adds ogcore port to url and creates log dir in clients

ogboot-log opengnsys_devel-0.0.16
Luis Gerardo Romero Garcia 2024-11-28 08:45:19 +01:00
parent 49b7a3a7c9
commit c6ae0babf9
1 changed files with 2 additions and 0 deletions

View File

@ -487,6 +487,8 @@ def copyClientFiles():
logger.info("Configuration file ogAdmClient.cfg created successfully.")
# Creamos el directorio de images para el samba de ogrepository
os.makedirs(os.path.join(INSTALL_OGBOOT_TARGET, "client/images"), mode=0o775, exist_ok=True)
# Creamos el directorio de logs para el samba de oglog
os.makedirs(os.path.join(INSTALL_OGBOOT_TARGET, "client/log"), mode=0o775, exist_ok=True)
# Change ownership of INSTALL_OGBOOT_TARGET/client/ and its contents
subprocess.run(f"chown -R opengnsys:opengnsys {INSTALL_OGBOOT_TARGET}/client/", shell=True, text=True, capture_output=True)