summaryrefslogtreecommitdiffstats
path: root/anaconda
Commit message (Collapse)AuthorAgeFilesLines
* Move the writeKS and write methods from InstallData to Anaconda.Chris Lumens2010-02-041-4/+87
| | | | | For now they're just placeholders, but it gives me a place to add method calls as each objects is removed from instdata.
* Move upgrade-related data to the Anaconda object.Chris Lumens2010-02-041-0/+4
| | | | | | This also removes the hack where upgrade can be True, False, or None in order to test whether we've seen the upgrade screen or not. Instead, it introduces a global value hack. I consider this the slightly cleaner approach.
* Make a bunch of Anaconda attributes into properties.Chris Lumens2010-02-041-51/+58
| | | | | | | By making these things properties, they no longer need to be explicitly initialized which removes a bunch of wordy and bizarre code out of anaconda. However, it also means that figuring out where they get set is a little more difficult. In this case, I think it's worth it.
* Finally remove the x_already_set hack.Chris Lumens2010-02-041-15/+2
| | | | | | I believe this was primarily needed for test mode (which we no longer have), and more recently live installs (which we have a flag to test for). Therefore, there's no reason to maintain this hack too.
* Move instClass to be an attribute on Anaconda.Chris Lumens2010-02-041-11/+10
|
* Use anaconda.ksdata instead of anaconda.isKickstart.Chris Lumens2010-02-041-9/+6
| | | | | | anaconda.ksdata is only non-None if there's a kickstart file, just like anaconda.isKickstart would be. Therefore, we don't need two variables to test for the same condition.
* Move ksdata to be an attribute on Anaconda.Chris Lumens2010-02-041-22/+20
|
* Move the isHeadless attribute onto the Anaconda class.Chris Lumens2010-02-041-12/+10
| | | | | This requires having loader add --headless to the anaconda arguments automatically on s390, instead of having anaconda figure that out later.
* Set displayMode on the anaconda object, then refer to that everywhere.Chris Lumens2010-02-041-37/+31
| | | | | | We probably shouldn't be referring to attributes on the OptionParser object when we've got a perfectly useful Anaconda object to use. This also allows removing the displayMode attribute from the InstallData.
* Sort the attributes on class Anaconda for my future reference.Chris Lumens2010-02-041-11/+11
|
* Install classes may no longer force text mode.Chris Lumens2010-02-041-5/+0
| | | | | | We don't really like promoting text mode anymore. It's basically as close to being deprecated as we can get away with. Therefore, don't provide another way to get to it.
* rename constants and a variable in anconda_log.py so the names make more sense.Ales Kozumplik2010-01-291-2/+2
|
* anaconda, storage and yum: log to tty3 in the same format as we log into tty4Ales Kozumplik2010-01-291-1/+2
|
* Introducing a proper syslog daemon allows us to remove the syslogd stub we have.Ales Kozumplik2010-01-211-0/+1
|
* iutil.execWithRedirect() hasn't used searchPath= since 2006. Take it out.Peter Jones2010-01-151-2/+1
| | | | | iutil.execWithRedirect() stopped doing anything with searchPath in 2006 when clumens committed d0dec24. Remove these silly vestigal bits.
* devicetree.devices is a list, not a dict (#554455).Chris Lumens2010-01-111-1/+1
| | | | This one somehow eluded the patch that corrected all the others.
* Install the driver discs according to what was loaded in stage1Martin Sivak2010-01-081-0/+4
|
* get rid of global import of anaconda_logAles Kozumplik2010-01-081-9/+9
|
* introduce loglevel flag and use it in yum's tty3 loggingAles Kozumplik2010-01-081-0/+1
|
* Remove LoggerClass but maintain loglevel= functionalityAles Kozumplik2010-01-081-3/+3
|
* Nothing sets flags.setupFilesystems anymore, so it can go too.Chris Lumens2009-12-031-2/+1
|
* Complain if we're started in test or rootPath mode instead of aborting.Chris Lumens2009-12-031-0/+10
|
* Remove test mode.Chris Lumens2009-12-031-35/+18
| | | | | | | This is yet another way of running anaconda that gets extremely limited use, no testing, and no consideration during development to making sure it still works. Again, we need to stop pretending and get rid of modes that we don't support.
* Remove rootPath mode.Chris Lumens2009-12-031-25/+3
| | | | | | | This mode is decaying as anaconda moves forward with things like udev, dbus etc. No one is really working on making sure they continue to work. Let's stop pretending and also get rid of some additional complicated ways to run anaconda.
* Whenever storage code tries to log a method call, do so into the ↵Ales Kozumplik2009-12-031-1/+4
| | | | | | | 'tmp/storage.log' file. (a part of #524980) Previously, the method call was logged into 'tmp/anaconda.log' which made the file harder to do anything useful with.
* One reference to earlyKS somehow survived. Kill it.Chris Lumens2009-11-251-1/+1
|
* Fix killall -USR2 anaconda writing out a traceback file.Chris Lumens2009-11-241-9/+13
| | | | | | | This hasn't worked since the switch to python-meh, though it's looked like it has worked. Before, dumpState would cause an exception because it hadn't been adapted to python-meh. This exception would then get written out as /tmp/anaconda-tb-*, which made dumpState look like it worked.
* Remove the early kickstart processing pass (#532453).Chris Lumens2009-11-121-32/+43
| | | | | Among other problems, this means that all the partitioning commands can be in a file generated from a %pre script again.
* Move exception setup to right after instdata is populated.Chris Lumens2009-11-121-4/+4
| | | | | | | This allows getting the traceback dialog during kickstart file execution, instead of just getting a dead UI and an unseen traceback on tty1. We probably can't move this much earlier due to interface and instdata requirements.
* Allow remote(ish) debugging.Peter Jones2009-11-091-0/+10
| | | | | | This changes SIGUSR2 to start a debugger that you can telnet to on port 8080. At the moment you need to do "C-] mode char\n" in your telnet client to get it into character mode instead of line mode.
* Make sure /var/log/lastlog is there so we don't have ugly logs.Peter Jones2009-11-091-0/+2
| | | | | | Right now when you ssh in, you get errors in the log because sshd wants to interact with /var/log/lastlog. These errors will just confuse people, so create /var/log/lastlog when we start sshd.
* Add handling for sshpw command.Peter Jones2009-11-051-4/+26
| | | | This lets you set passwords to ssh into the anaconda environment.
* Improve logging of ssh-keygen.Peter Jones2009-11-051-1/+6
| | | | Log stdout/stderr of each ssh-keygen invocation to its own log file.
* Remove tabs in "anaconda"Peter Jones2009-11-051-97/+99
| | | | | The tabs in this file are driving me crazy, so fix them and add the vim hint for formatting.
* Add sshd support for non-s390 platforms.Peter Jones2009-10-281-0/+26
| | | | | | This leaves the sshd support on the s390 intact and functional (testing needed), and at the same time add the ability to ssh in and get a terminal on non-s390 platforms.
* Reintegrate reipl to trigger reboot/halt on s390x correctly. (#528380)Steffen Maier2009-10-161-8/+0
| | | | | | | | | | | Because of 8bc669549ddcc7040a5ba56b8afafa18684bac4e and maybe others, triggering reipl at the end of anaconda is no longer sufficient to be hit in all different anaconda install paths. Therefore, move the triggering right after having configured reipl in sysfs and do all in one place. Now loader must no longer immediately relay SIGUSR1/2 to init, since anaconda is not nearly finished with installation, but only remember the state requested by anaconda. Only right before loader terminates, it kills init with the remembered state to really reboot/halt.
* Support upgrading when the language isn't in lang-table (#528317).Chris Lumens2009-10-131-1/+1
|
* Do not show the VNC-over-text question, when there is not enough memory for ↵Martin Sivak2009-10-091-0/+5
| | | | GUI (#527979)
* Stop trying to run xrandr (#527678).Chris Lumens2009-10-071-13/+0
| | | | | | This has only rarely worked, and hasn't at all in quite a long time. What we really need to do is redesign the UI so it fits the screen appropriately instead of pushing X around to do what we want.
* Pass the proxy config information to stage2.Chris Lumens2009-09-301-0/+17
| | | | | | | We pass the URL and port as the --proxy= argument, and any authentication information through /tmp/proxy. This file will be removed by stage2. The reason for this song-and-dance is so passwords aren't on the anaconda command line.
* libcurl supports https in addition to http, so change our tests.Chris Lumens2009-09-301-1/+1
|
* Don't display the warning about not enough memory on a VNC install (#521109).Chris Lumens2009-09-031-1/+1
|
* Simplify language.py to two basic settings, and a lot of support (#517569).Chris Lumens2009-09-021-2/+2
| | | | | | | | | There's now just two important settings in the Language module: instLang, which is the language used while anaconda is running; and systemLang, which is the language the installed system itself will use. These two can be different mainly due to anaconda's text mode interface. The rest of anaconda should only set and get these two. All the other support functions still exist for grabbing timezone, font, etc.
* The names of a couple basic udev methods has changed.Chris Lumens2009-08-041-1/+1
|
* Fix up udev sillies (related to #514501)Jeremy Katz2009-07-311-0/+14
| | | | I think the comments say it all...
* And finish off the removal of rhplJeremy Katz2009-07-291-1/+1
| | | | | Finish off removing the symlinking and requirements for rhpl in anaconda.
* Use keyboard bits from system-config-keyboard nowJeremy Katz2009-07-291-1/+1
| | | | | system-config-keyboard has the keyboard bits now, so let's use those rather than the ones from rhpl
* Get glade files and pixmaps from an environment variable.Chris Lumens2009-07-291-0/+3
|
* Add meh to the list of python modules we can update.Chris Lumens2009-07-291-1/+1
|
* Adapt exception.py to using python-meh.Chris Lumens2009-07-291-4/+2
| | | | | | | | This involves getting rid of most of the real code out of this file, adding a minimal subclass of the ExceptionHandler class to do the copying and pdb setup anaconda needs, and calling the install method from within anaconda. We also need to no longer call handleException from elsewhere in anaconda. That method no longer exists.