diff options
author | Chris Lumens <clumens@redhat.com> | 2008-03-13 11:44:47 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-03-13 11:44:47 -0400 |
commit | 362093a0b6787002cdb0d93d5df5488743e6243e (patch) | |
tree | 3c245761cf20563161dea64b6a3d1579e69949f2 /installclass.py | |
parent | 5c94a222685a983489602c6fb8a4d7b0681aeebf (diff) | |
download | anaconda-362093a0b6787002cdb0d93d5df5488743e6243e.tar.gz anaconda-362093a0b6787002cdb0d93d5df5488743e6243e.tar.xz anaconda-362093a0b6787002cdb0d93d5df5488743e6243e.zip |
The xconfig command with no X running doesn't make sense.
Diffstat (limited to 'installclass.py')
-rw-r--r-- | installclass.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/installclass.py b/installclass.py index 6fac4217f..3e0908da5 100644 --- a/installclass.py +++ b/installclass.py @@ -389,6 +389,10 @@ class BaseInstallClass(object): id.xsetup.xserver.hwstate.recalc_mode() def setVideoCard(self, id, driver = None, videoRam = None): + if not id.videocard: + log.warning("Skipping video configuration because there's no videocard") + return + primary = id.videocard.primaryCard() # rhpxl no longer gives us a list of drivers, so always just trust |