[pve-devel] [PATCH manager 2/2] filter the local node in the migrateall window

Dominik Csapak d.csapak at proxmox.com
Wed Dec 7 11:54:36 CET 2016


we do this already for single vm migrations, also do it for migrate all

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/window/MigrateAll.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/window/MigrateAll.js b/www/manager6/window/MigrateAll.js
index 1bcba1e..a4ec124 100644
--- a/www/manager6/window/MigrateAll.js
+++ b/www/manager6/window/MigrateAll.js
@@ -43,6 +43,7 @@ Ext.define('PVE.window.MigrateAll', {
 		{
 		    xtype: 'pveNodeSelector',
 		    name: 'target',
+		    disallowedNodes: [me.nodename],
 		    fieldLabel: 'Target node',
 		    allowBlank: false,
 		    onlineValidator: true
-- 
2.1.4





More information about the pve-devel mailing list