From cbf732b85b921be39df80d1ee5f10b99f0bb1bec Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Wed, 2 Nov 2011 15:18:49 +0400 Subject: [PATCH] Apply only live templates for install. --- pym/cl_fill_install.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/cl_fill_install.py b/pym/cl_fill_install.py index 0e2c057..aad38a2 100644 --- a/pym/cl_fill_install.py +++ b/pym/cl_fill_install.py @@ -100,7 +100,8 @@ class fillVars(object, glob_attr): """Need perform templates for install:live""" if self.Get('ac_install_merge') == "up" and \ self.Get('cl_chroot_status') == "off" or \ - self.Get('cl_action') == 'live': + self.Get('cl_action') in ('live',) and \ + self.Get('os_install_root_type') != "flash": return "up" else: return ""