Signed-off-by: Thomas Lamprecht <t.lampre...@proxmox.com>
---
 www/manager6/storage/Base.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/manager6/storage/Base.js b/www/manager6/storage/Base.js
index 70e18a81..13ba5b7b 100644
--- a/www/manager6/storage/Base.js
+++ b/www/manager6/storage/Base.js
@@ -67,6 +67,8 @@ Ext.define('PVE.panel.StoragePruneInputPanel', {
     onGetValues: function(formValues) {
        if (this.needMask) { // isMasked() may not yet be true if not rendered 
once
            return {};
+       } else if (this.isCreate && !this.rendered) {
+           return { 'prune-backups': 'keep-all=1' };
        }
        delete formValues.delete;
        let retention = PVE.Parser.printPropertyString(formValues)
-- 
2.20.1



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

Reply via email to