relocate /www to /var/www
Relocate writable /www to /var/www TC passed: provisioned DC system, std system controller + SX subcloud reinstall controller backup restore DC upgrade with SX subclouds Story: 2009101 Task: 43541 Depends-on: https://review.opendev.org/c/starlingx/metal/+/810023 Change-Id: I0928ea13f4ca90b6dc312b342bfa5b0cf5ec6fa5 Signed-off-by: Bin Qian <bin.qian@windriver.com>
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
helm_overrides_permdir: "{{ platform_path }}/helm/{{ software_version }}"
|
||||
helm_charts_permdir: "{{ platform_path }}/helm_charts"
|
||||
patching_permdir: "/opt/patching"
|
||||
patching_repo_permdir: "/www/pages/updates"
|
||||
patching_repo_permdir: "/var/www/pages/updates"
|
||||
extension_permdir: "/opt/extension"
|
||||
dc_vault_permdir: "/opt/dc-vault"
|
||||
extra_permdir: "{{ platform_path }}/extra"
|
||||
|
||||
@@ -32,16 +32,16 @@
|
||||
shell: /sbin/nologin
|
||||
state: present
|
||||
|
||||
- name: Ensure /www/tmp exists
|
||||
- name: Ensure /var/www/tmp exists
|
||||
file:
|
||||
path: /www/tmp
|
||||
path: /var/www/tmp
|
||||
state: directory
|
||||
recurse: yes
|
||||
owner: www
|
||||
group: root
|
||||
# mode: 1700
|
||||
|
||||
- name: Ensure /www/var exists
|
||||
- name: Ensure /var/www/var exists
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
@@ -49,8 +49,8 @@
|
||||
owner: www
|
||||
group: root
|
||||
with_items:
|
||||
- /www/var
|
||||
- /www/var/log
|
||||
- /var/www/var
|
||||
- /var/www/var/log
|
||||
|
||||
- name: Set up lighttpd.conf
|
||||
copy:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
source_helm_bind_dir: /opt/platform/helm_charts
|
||||
target_helm_bind_dir: /www/pages/helm_charts
|
||||
target_helm_bind_dir: /var/www/pages/helm_charts
|
||||
helm_repo_name_apps: starlingx
|
||||
helm_repo_name_platform: stx-platform
|
||||
helm_repo_port: 8080
|
||||
|
||||
@@ -7,5 +7,5 @@ temp_ssl_ca: "/tmp/ca-cert.pem"
|
||||
ssl_ca_complete_flag: /etc/platform/.ssl_ca_complete
|
||||
region_config: no
|
||||
source_device_image_bind_dir: /opt/platform/device_images
|
||||
target_device_image_bind_dir: /www/pages/device_images
|
||||
target_device_image_bind_dir: /var/www/pages/device_images
|
||||
etcd_certs_dir: "{{ config_permdir + '/etcd' }}"
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
|
||||
- name: Restore patching repo
|
||||
command: >-
|
||||
tar -C /www/pages -xpf {{ restore_data_file }} --strip-components=2
|
||||
tar -C /var/www/pages -xpf {{ restore_data_file }} --strip-components=3
|
||||
{{ short_patching_repo_permdir }}
|
||||
args:
|
||||
warn: false
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
restore_patching_complete_flag: /etc/platform/.restore_patching_complete
|
||||
node_is_patched_flag: /var/run/node_is_patched
|
||||
patching_permdir: /opt/patching
|
||||
patching_repo_permdir: /www/pages/updates
|
||||
patching_repo_permdir: /var/www/pages/updates
|
||||
skip_version_check: false
|
||||
|
||||
Reference in New Issue
Block a user