commit:     3a75f67df560e02b4e709cf624bc0419bc440d51
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  6 21:48:33 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Oct  6 21:48:33 2024 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=3a75f67d

Fix settings parameter name

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 catalyst/base/stagebase.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 61669342..1295851d 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1636,7 +1636,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
             return
 
         # Create the QCOW2 file
-        if "qcow2" in self.settings:
+        if "diskimage/qcow2" in self.settings:
             cmd([self.settings['controller_file'], 'qcow2', 
self.settings['qcow2']],
                 env=self.env)
             # FIXME: implement this

Reply via email to