relocate /www to /var/www
Relocate writable /www to /var/www Story: 2009101 Task: 43537 Depends-on: https://review.opendev.org/c/starlingx/metal/+/810023 Change-Id: I441e97eb869ce57b546f0e85f4ba018baa130a36 Signed-off-by: Bin Qian <bin.qian@windriver.com>
This commit is contained in:
@@ -57,7 +57,7 @@ restore_patching_complete = '/etc/platform/.restore_patching_complete'
|
||||
restore_compute_ready = '/var/run/.restore_compute_ready'
|
||||
node_is_patched = '/var/run/node_is_patched'
|
||||
patching_permdir = '/opt/patching'
|
||||
patching_repo_permdir = '/www/pages/updates'
|
||||
patching_repo_permdir = '/var/www/pages/updates'
|
||||
|
||||
|
||||
def gethostaddress(hostname):
|
||||
|
||||
@@ -251,7 +251,7 @@ start()
|
||||
then
|
||||
fatal_error "Unable to retrieve installation uuid from active controller"
|
||||
fi
|
||||
INSTALL_UUID=`cat /www/pages/feed/rel-${SW_VERSION}/install_uuid`
|
||||
INSTALL_UUID=`cat /var/www/pages/feed/rel-${SW_VERSION}/install_uuid`
|
||||
if [ "$INSTALL_UUID" != "$CONTROLLER_UUID" ]
|
||||
then
|
||||
fatal_error "This node is running a different load than the active controller and must be reinstalled"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
: ${1?"Usage $0 VERSION"}
|
||||
VERSION=$1
|
||||
|
||||
FEED_DIR=/www/pages/feed/rel-$VERSION
|
||||
FEED_DIR=/var/www/pages/feed/rel-$VERSION
|
||||
|
||||
rm -f /pxeboot/pxelinux.cfg.files/*-$VERSION
|
||||
rm -rf /pxeboot/rel-$VERSION
|
||||
|
||||
Reference in New Issue
Block a user