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 <jessica.castelino@windriver.com>
This commit is contained in:
parent
a5fc60921f
commit
593d0f82ba
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user