summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-13 06:29:44 +0000
committerMatt Wilson <msw@redhat.com>1999-09-13 06:29:44 +0000
commitbb20c21ac383238d139fbffeece06efd8ed5620b (patch)
treee252ac9cb57da771d144e4825410797918c683ad /anaconda
parentf0c6f0eabd94c0c9935fdab940fa24c140299c12 (diff)
downloadanaconda-bb20c21ac383238d139fbffeece06efd8ed5620b.tar.gz
anaconda-bb20c21ac383238d139fbffeece06efd8ed5620b.tar.xz
anaconda-bb20c21ac383238d139fbffeece06efd8ed5620b.zip
more changes
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda20
1 files changed, 19 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index f7751b423..fc314b430 100755
--- a/anaconda
+++ b/anaconda
@@ -18,8 +18,9 @@ gettext.textdomain("anaconda")
_ = gettext.gettext
(args, extra) = isys.getopt(sys.argv[1:], 'GTtdr:fm:',
- [ 'gui', 'text', 'test', 'debug', 'method=', 'rootpath=',
+ [ 'gui', 'text', 'test', 'debug', 'method=', 'rootpath=',
'testpath=', 'mountfs', 'traceonly', 'kickstart=',
+ 'lang=', 'keymap=', 'kbdtype=',
'expert'])
# remove the arguments - gnome_init doesn't understand them
@@ -40,6 +41,9 @@ mouseInfo = None
x = None
kickstart = None
expert = 0
+lang = None
+keymap = None
+kbdtpye = None
for n in args:
(str, arg) = n
@@ -65,6 +69,12 @@ for n in args:
traceOnly = 1
elif (str == '--expert'):
expert = 1
+ elif (str == '--lang'):
+ lang = arg
+ elif (str == '--keymap'):
+ keymap = arg
+ elif (str == '--kbdtype'):
+ kbdtype = arg
if (not method):
print "no install method specified"
@@ -184,6 +194,14 @@ if kickstart:
else:
instClass = CustomInstall()
+if lang
+ instClass.addToSkipList("language")
+ instClass.setLanguage(lang):
+
+if keymap and kbdtype:
+ instClass.addToSkipList("keyboard")
+ instClass.setKeyboard(keymap):
+
try:
todo = ToDo(intf, method, rootPath, installSystem = installPackages,
setupFilesystems = setupFilesystems, mouse = mouseInfo,