1 |
slords |
1.1 |
From 8806805f9ee32eef689cd6e2cffe0642e6baa606 Mon Sep 17 00:00:00 2001 |
2 |
|
|
From: Shad L. Lords <slords@mail.com> |
3 |
|
|
Date: Mon, 26 Oct 2009 18:12:35 -0600 |
4 |
|
|
Subject: [PATCH] Make install headless but still write keyboard info out |
5 |
|
|
|
6 |
|
|
--- |
7 |
|
|
instdata.py | 5 ++--- |
8 |
|
|
1 files changed, 2 insertions(+), 3 deletions(-) |
9 |
|
|
|
10 |
|
|
diff --git a/instdata.py b/instdata.py |
11 |
|
|
index e3d7f87..bf4c701 100644 |
12 |
|
|
--- a/instdata.py |
13 |
|
|
+++ b/instdata.py |
14 |
|
|
@@ -117,8 +117,7 @@ class InstallData: |
15 |
|
|
def write(self, instPath): |
16 |
|
|
self.langSupport.write (instPath) |
17 |
|
|
|
18 |
|
|
- if not self.isHeadless: |
19 |
|
|
- self.keyboard.write (instPath) |
20 |
|
|
+ self.keyboard.write (instPath) |
21 |
|
|
|
22 |
|
|
self.timezone.write (instPath) |
23 |
|
|
self.auth.write (instPath) |
24 |
|
|
@@ -172,8 +171,8 @@ class InstallData: |
25 |
|
|
|
26 |
|
|
self.instLanguage.writeKS(f) |
27 |
|
|
self.langSupport.writeKS(f) |
28 |
|
|
+ self.keyboard.writeKS(f) |
29 |
|
|
if not self.isHeadless: |
30 |
|
|
- self.keyboard.writeKS(f) |
31 |
|
|
self.xsetup.writeKS(f, self.desktop) |
32 |
|
|
self.network.writeKS(f) |
33 |
|
|
self.zfcp.writeKS(f) |
34 |
|
|
-- |
35 |
|
|
1.5.5.6 |
36 |
|
|
|