Signed-off-by: Hannes Laimer <h.lai...@proxmox.com>
---

came up in enterprise support, and I don't think there is a reason to
not have it in the UI, while having it in the API

 www/manager6/storage/DirEdit.js | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/www/manager6/storage/DirEdit.js b/www/manager6/storage/DirEdit.js
index 3e2025fc..52e7134b 100644
--- a/www/manager6/storage/DirEdit.js
+++ b/www/manager6/storage/DirEdit.js
@@ -37,6 +37,18 @@ Ext.define('PVE.storage.DirInputPanel', {
            },
        ];
 
+       me.advancedColumn2 = [
+           {
+               xtype: 'proxmoxcheckbox',
+               name: 'is_mountpoint',
+               uncheckedValue: 0,
+               fieldLabel: gettext('Mountpoint'),
+               autoEl: {
+                   tag: 'div',
+                   'data-qtip': gettext('Enable if something is mounted to 
this directory externally, storage is considered offline as long as nothing is 
mounted.'),
+               },
+           },
+       ];
        me.callParent();
     },
 });
-- 
2.39.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to