relocate /www to /var/www

Relocate writable /www to /var/www

Story: 2009101
Task: 43535
Depends-on: https://review.opendev.org/c/starlingx/metal/+/810023
Change-Id: Iecb3e679d73350072a6d9e0219e001c1d8c53c09
Signed-off-by: Bin Qian <bin.qian@windriver.com>
This commit is contained in:
Bin Qian 2021-08-16 16:27:22 -04:00
parent 284044eb2b
commit 4bdd3b8c0f
2 changed files with 3 additions and 3 deletions

View File

@ -37,8 +37,8 @@ if [ "$nodetype" = "controller" ] ; then
delimiter ${LOGFILE} "find /opt/patching"
find /opt/patching 2>>${COLLECT_ERROR_LOG} >> ${LOGFILE}
delimiter ${LOGFILE} "find /www/pages/updates"
find /www/pages/updates 2>>${COLLECT_ERROR_LOG} >> ${LOGFILE}
delimiter ${LOGFILE} "find /var/www/pages/updates"
find /var/www/pages/updates 2>>${COLLECT_ERROR_LOG} >> ${LOGFILE}
fi

View File

@ -376,7 +376,7 @@ function handle_delete {
}
function get_patches_from_host {
local host_patch_repo=/www/pages/updates/rel-${ISO_VERSION}
local host_patch_repo=/var/www/pages/updates/rel-${ISO_VERSION}
if [ ! -d ${host_patch_repo} ]; then
log_error "Patch repo not found: ${host_patch_repo}"