[pbs-devel] [PATCH proxmox-backup 5/6] feature #3690: ui: enable wipe disk in StorageAndDisks

Lukas Wagner l.wagner at proxmox.com
Mon Nov 27 17:29:07 CET 2023


General note about the UI patch:

You should also add an entry in in www/Utils.js -> 
override_task_descriptions, so that tasks of type 'wipedisk' are 
rendered properly in the task history. I guess you can just copy the 
entry from PVE.

On 11/10/23 14:50, Markus Frank wrote:
> Signed-off-by: Markus Frank <m.frank at proxmox.com>
> ---
>   www/panel/StorageAndDisks.js | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/www/panel/StorageAndDisks.js b/www/panel/StorageAndDisks.js
> index 7bd7042c..e9d7ed19 100644
> --- a/www/panel/StorageAndDisks.js
> +++ b/www/panel/StorageAndDisks.js
> @@ -17,6 +17,7 @@ Ext.define('PBS.StorageAndDiskPanel', {
>   	    xtype: 'pmxDiskList',
>   	    title: gettext('Disks'),
>   	    includePartitions: true,
> +	    supportsWipeDisk: true,
>   	    itemId: 'disks',
>   	    iconCls: 'fa fa-hdd-o',
>   	},

-- 
- Lukas





More information about the pbs-devel mailing list