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:
parent
284044eb2b
commit
4bdd3b8c0f
|
@ -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
|
||||
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue