From 593d0f82ba300b8381add6fa9d950405d6a2b1fa Mon Sep 17 00:00:00 2001 From: Jessica Castelino Date: Fri, 24 Apr 2020 14:29:31 -0400 Subject: [PATCH] Rename the existing /opt/patch-vault filesystem to /opt/dc-vault The filesystem /opt/patch-vault is renamed to /opt/dc-vault so that it can be re-used to store FPGA images and software loads. Thus, a form in starlingx dashboard has been updated to reflect this change. Change-Id: I0c274f4536345f415a3278c0840fb0db4e819d9d Story: 2006740 Task: 39550 Depends-On: https://review.opendev.org/#/c/723007/ Signed-off-by: Jessica Castelino --- .../dashboards/admin/system_config/forms.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/dashboards/admin/system_config/forms.py b/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/dashboards/admin/system_config/forms.py index de90b0de..fe7bd2f6 100644 --- a/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/dashboards/admin/system_config/forms.py +++ b/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/dashboards/admin/system_config/forms.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2013-2019 Wind River Systems, Inc. +# Copyright (c) 2013-2020 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # @@ -677,10 +677,10 @@ class UpdateiStorage(forms.SelfHandlingForm): help_text=_("Docker Distribution storage space in gibibytes."), min_value=0) - patch_vault = forms.IntegerField( - label=_("Patch-Vault Storage (GiB)"), + dc_vault = forms.IntegerField( + label=_("DC-Vault Storage (GiB)"), required=False, - help_text=_("Platform Patch-Vault storage space in gibibytes."), + help_text=_("Platform DC-Vault storage space in gibibytes."), min_value=0) ceph_mon = forms.IntegerField( @@ -696,8 +696,8 @@ class UpdateiStorage(forms.SelfHandlingForm): super(UpdateiStorage, self).__init__(request, *args, **kwargs) if not kwargs['initial'].get('ceph_mon'): del self.fields['ceph_mon'] - if not kwargs['initial'].get('patch_vault'): - del self.fields['patch_vault'] + if not kwargs['initial'].get('dc_vault'): + del self.fields['dc_vault'] def clean(self): cleaned_data = super(UpdateiStorage, self).clean()