diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-13 06:29:44 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-13 06:29:44 +0000 |
commit | bb20c21ac383238d139fbffeece06efd8ed5620b (patch) | |
tree | e252ac9cb57da771d144e4825410797918c683ad /anaconda | |
parent | f0c6f0eabd94c0c9935fdab940fa24c140299c12 (diff) | |
download | anaconda-bb20c21ac383238d139fbffeece06efd8ed5620b.tar.gz anaconda-bb20c21ac383238d139fbffeece06efd8ed5620b.tar.xz anaconda-bb20c21ac383238d139fbffeece06efd8ed5620b.zip |
more changes
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -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, |