summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-03-23 19:03:00 +0000
committerJeremy Katz <katzj@redhat.com>2004-03-23 19:03:00 +0000
commit57e4b45ed1e58bbb637d7c0a45ff56dc1e1e3cf8 (patch)
tree6cd4d31748aebed810c6d052231e16c36a4395b7 /kickstart.py
parented8bcca29cee57dc56008f61970c60691b399640 (diff)
downloadanaconda-57e4b45ed1e58bbb637d7c0a45ff56dc1e1e3cf8.tar.gz
anaconda-57e4b45ed1e58bbb637d7c0a45ff56dc1e1e3cf8.tar.xz
anaconda-57e4b45ed1e58bbb637d7c0a45ff56dc1e1e3cf8.zip
avoid skipx traceback on headless boxes (#116848)
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kickstart.py b/kickstart.py
index d756b9cee..cb8327046 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -579,7 +579,8 @@ class KickstartBase(BaseInstallClass):
self.skipSteps.append("xcustom")
self.skipSteps.append("handleX11pkgs")
self.skipSteps.append("writexconfig")
- id.xsetup.skipx = 1
+ if id.xsetup is not None:
+ id.xsetup.skipx = 1
def doInteractive(self, id, args):
self.interactive = 1