diff --git a/creationRoutesVM.sh b/creationRoutesVM.sh index c217a73..09b2358 100755 --- a/creationRoutesVM.sh +++ b/creationRoutesVM.sh @@ -38,7 +38,7 @@ BOOL_V4=0 BOOL_V6=0 # Chemin fichier de LOG (et création du répertoire s'il n'existe pas) -LOG_PLACE='/root/vm_id_log/' +LOG_PLACE='./vm_id_log/' if [ ! -d "${LOG_PLACE}" ];then mkdir -p ${LOG_PLACE} echo "$(date -Isecond) - INFO : Creation du repertoire de logs vm_id" > ${LOG_PLACE}/$(date -Idate)_vm_id.log @@ -47,7 +47,7 @@ fi echo "$(date -Isecond) - INFO : Début de l'exécution du script d'ajout de routes VM" >> ${LOG_PLACE}/$(date -Idate)_vm_id.log # Chemin fichier de CACHE (et création du répertoire s'il n'existe pas) -CHEMIN_CACHE='/root/vm_id_cache/' +CHEMIN_CACHE='./vm_id_cache/' if [ ! -d "${CHEMIN_CACHE}" ];then mkdir -p ${CHEMIN_CACHE} echo "$(date -Isecond) - INFO : Creation du repertoire de cache vm_id" >> ${LOG_PLACE}/$(date -Idate)_vm_id.log