summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/kickstart.py b/kickstart.py
index 0c02e3f4c..1e590438e 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -755,6 +755,11 @@ class Kickstart(cobject):
if len(postScripts) == 0:
return
+ # Remove environment variables that cause problems for %post scripts.
+ for var in ["LIBUSER_CONF"]:
+ if os.environ.has_key(var):
+ del(os.environ[var])
+
log.info("Running kickstart %%post script(s)")
if anaconda.intf is not None:
w = anaconda.intf.waitWindow(_("Running..."),