From 9395e8fc33cd68b18290a0a5f95aa71ffca5938c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 26 Sep 2016 00:46:45 +0200 Subject: [PATCH] storage: set only 'default' pool when creating VM on custom one Do not replace 'linux-kernel' pool for example. --- qubes/vm/qubesvm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index 6d756bba..20061bf3 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -1559,7 +1559,7 @@ def _patch_pool_config(config, pool=None, pools=None): name = config['name'] - if pool and is_exportable: + if pool and is_exportable and config['pool'] == 'default': config['pool'] = str(pool) elif pool and not is_exportable: pass