From 77fc442a91bf479772b45dd8a3c9de1691e450b9 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 5 Jun 2021 12:20:14 +0900 Subject: [PATCH] Horizon: Install policy files for manila-ui Since the commit 89a90ff9773b93062760df5e3deefb9750112633 was merged, manila-ui provides two policy files. This change ensures that these files are installed when manila-ui is enabled. Change-Id: Id92145ba74237da2fd8430b9d84413465297d3a7 --- docker/horizon/extend_start.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh index 123e389f76..d26cc60a74 100644 --- a/docker/horizon/extend_start.sh +++ b/docker/horizon/extend_start.sh @@ -130,6 +130,13 @@ function config_manila_ui { "${SITE_PACKAGES}/manila_ui/local/enabled/${file##*/}" \ "${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}" done + + config_dashboard "${ENABLE_MANILA:-no}" \ + "${SITE_PACKAGES}/manila_ui/conf/manila_policy.yaml" \ + "/etc/openstack-dashboard/manila_policy.yaml" + config_dashboard "${ENABLE_MANILA:-no}" \ + "${SITE_PACKAGES}/manila_ui/conf/default_policies/manila.yaml" \ + "/etc/openstack-dashboard/default_policies/manila.yaml" } function config_masakari_dashboard {