refs #1200 Creates client/log dir in installation

ogboot-log 0.5.5
Luis Gerardo Romero Garcia 2024-12-03 15:56:28 +01:00
parent da0026324c
commit 900d793411
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 log para el cliente
os.makedirs(os.path.join(INSTALL_OGBOOT_TARGET, "client/log"), 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