From 4e668251334f518d2817000c1faef7d3741e873b Mon Sep 17 00:00:00 2001 From: Mike Fulbright Date: Mon, 3 Apr 2000 20:25:17 +0000 Subject: (drmike) Fixed --server and --card options for kickstart xconfig directive. Did not work in 6.1 or 6.2 apparently. --- installclass.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'installclass.py') diff --git a/installclass.py b/installclass.py index f427dcec0..5698c5b35 100644 --- a/installclass.py +++ b/installclass.py @@ -117,7 +117,13 @@ class InstallClass: self.x.probe() if not self.x.server: - self.x.setVidcard (card) + if (card != None): + self.x.setVidcardByName (card) + elif (server != None): + self.x.setVidcardByServer (server) + else: + raise RuntimeError, "Could not probe video card and no fallback specified." + if not self.x.monID and monitor: self.x.setMonitor((monitor, (None, None))) -- cgit