From 73a78ca0dba52ee847da2fdffe99bde43a22836f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 25 Jul 2017 05:21:32 +0200 Subject: [PATCH] app: add missing setters for default_pool* global properties Function itself was already written, but not set in the properties. QubesOS/qubes-issues#2256 --- qubes/app.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qubes/app.py b/qubes/app.py index fec7788f..a714e34a 100644 --- a/qubes/app.py +++ b/qubes/app.py @@ -672,23 +672,28 @@ class Qubes(qubes.PropertyHolder): default_pool = qubes.property('default_pool', load_stage=3, default=_default_pool, + setter=_setter_pool, doc='Default storage pool') default_pool_private = qubes.property('default_pool_private', load_stage=3, default=lambda app: app.default_pool, + setter=_setter_pool, doc='Default storage pool for private volumes') default_pool_root = qubes.property('default_pool_root', load_stage=3, default=lambda app: app.default_pool, + setter=_setter_pool, doc='Default storage pool for root volumes') default_pool_volatile = qubes.property('default_pool_volatile', load_stage=3, default=lambda app: app.default_pool, + setter=_setter_pool, doc='Default storage pool for volatile volumes') default_pool_kernel = qubes.property('default_pool_kernel', load_stage=3, default=lambda app: app.default_pool, + setter=_setter_pool, doc='Default storage pool for kernel volumes') # TODO #1637 #892