summaryrefslogtreecommitdiffstats
path: root/pyanaconda
Commit message (Collapse)AuthorAgeFilesLines
...
* | import localization stuff and use it to translate more stringsMartin Sivak2012-08-105-2/+21
| |
* | finish renaming _mainloopMartin Sivak2012-08-102-2/+2
| |
* | Fix naming for data attribute and move the NormalSpoke.__init__ under the ↵Martin Sivak2012-08-104-25/+26
| | | | | | | | proper class
* | Improve documentation and add licensing headersMartin Sivak2012-08-106-15/+111
| |
* | Add translations to the simpleline frameworkMartin Sivak2012-08-091-4/+4
| |
* | Add translations to Password SpokeMartin Sivak2012-08-091-7/+7
| |
* | Add elementary timezone spokeMartin Sivak2012-08-061-0/+110
| |
* | Pass screen args argument to prompt and input methods + fix for run-text-spokeMartin Sivak2012-08-066-16/+25
| |
* | Merge master into newtuiMartin Sivak2012-08-0672-1447/+1308
|\|
| * Don't use "swap" as a variable name; it's already the name of a module.Chris Lumens2012-08-031-2/+2
| |
| * Fix an import error caused by the merge.Chris Lumens2012-08-031-1/+2
| |
| * Remove the final reference to backend_log.Chris Lumens2012-08-031-3/+0
| |
| * Fix a typo in iutil.py caused by the big merge commit.Chris Lumens2012-08-031-1/+1
| |
| * Merge branch 'master' into newui-mergeChris Lumens2012-08-0315-79/+189
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am anaconda data/systemd/anaconda.target pyanaconda/bootloader.py pyanaconda/constants.py pyanaconda/iutil.py pyanaconda/kickstart.py pyanaconda/network.py pyanaconda/vnc.py scripts/makeupdates
| | * empty versions shouldn't traceback (#843346)Jesse Keating2012-07-301-0/+3
| | | | | | | | | | | | This is related to commit 43715e5db831893edcfc2b289a1e575b0ba19403
| | * Disable dracut debug shell when password protected (#752966)Jesse Keating2012-07-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Dracut debug shell gives users root like access, without a password. This is not a good thing if the admin has decided that the system should have a password protected boot loader. So for boot loaders that support password protection, we should also add the rd.shell=0 flag to the boot arguments to prevent the user from gaining root level access.
| | * Fix a typo (#841573)Jesse Keating2012-07-191-1/+1
| | |
| | * iscsi: fall back to session initiator name for null offload name (#836307)Radek Vykydal2012-07-121-0/+5
| | | | | | | | | | | | Resolves: rhbz#836307
| | * Accept iSCSI details on F12 press (#823447)Jesse Keating2012-07-091-1/+1
| | | | | | | | | | | | | | | | | | When F12 (the global default continue hotkey) is pressed the button value is None. But we still want to process the details when this happens. The use of bool here makes it a little easier to read.
| | * Check passphrase unless explicit cancel (#821724)Jesse Keating2012-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | snack/newt returns None for a button if F12 is pressed which is a global default. There can be passphrase data in the box when this happens and we should read it. The only time we should ignore anything in the box is if the user has explicitely pressed the cancel button. If the passphrase box is empty but the user pressed F12 we still handle that correctly as an implicit cancel.
| | * Reset selinux context on /etc/zipl.conf (#818875)Jesse Keating2012-07-091-1/+2
| | | | | | | | | | | | | | | | | | /etc/zipl.conf is written by anaconda when we install the boot loader. Because we mess with it, we have to reset the selinux context on it before rebooting.
| | * Let kickstart users log to device nodes (#835563)Brian C. Lane2012-07-091-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | If a kickstart pre/post fails we read the logfile and add it to the anaconda log. This doesn't work well for device nodes like /dev/console so skip reading the log it isn't a regular file. Resolves: rhbz#835563
| | * Make zipl call sensitive to non-zero exit (#730023)Jesse Keating2012-07-051-1/+2
| | | | | | | | | | | | | | | If zipl doesn't succeed, the install won't reboot when finished. This is not an acceptable situation.
| | * Provide option to make non-zero exits fatalJesse Keating2012-07-051-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | execWithCapture normally doesn't care about non-zero exits in called processes. In some cases (most?) this is preferred. In few cases we do actually care about the success or failure of the execution. "fatal" provides a boolean that will allow callers to decide if they care or not. An OSError is raised because there is already code to catch that in the except section. Related: rhbz#730023
| | * Keep format _mountType in sync with _type (#828650)Jesse Keating2012-07-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Device formats have both a type and mountType property. The mountType property has a fallback of reading the _type attribute, if _mountType isn't set. But when we're migrating filesystems, the _mountType will have already been set, so just modifying _type won't effect any code looking at mountType. This can lead to the wrong data being written out to say /etc/fstab.
| | * Make use of common code to fetch IPJesse Keating2012-06-281-18/+10
| | |
| | * Add method to grab the first non-localhost IPJesse Keating2012-06-281-0/+21
| | | | | | | | | | | | This is mostly code that was in vnc.py as well as anaconda itself.
| | * Add readonly disks to the ignored list (#772977)Jesse Keating2012-06-281-0/+14
| | | | | | | | | | | | | | | If your disk is read-only, we're just going to flat out ignore it and not offer it to you for anything.
| | * Limit the maximum size of swap partitionsVratislav Podzimek2012-06-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | swapon creates a table using 1 B for each page in the swap. Therefore when a huge swap (e.g. 500 GB) is created, swapon fails with ENOMEM, because it is using vmalloc that allocates a continuous memory. Thus we need to limit the maximum size of swap partitions. And since we don't know the strict limit, let's use 128 GB that seems to work and should be enough for everybody. (ported 35679a70eab52b3b040a61fce9d0e43dbb977c98 from rhel6-branch)
| | * Remove swapAmount since it is not used anywhereVratislav Podzimek2012-06-271-17/+0
| | |
| | * Move swapSuggestion to storage and use a new suggested algorithm for itVratislav Podzimek2012-06-274-50/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | We were using an algorithm that suggested the swap size as 2 GB + size of RAM, but this resulted in huge swaps on machines with a lot of RAM. The new algorithm comes from the discussion with other teams. (ported 84b3444a277b73abeaddf7d4b186a79569eb56d2 from rhel6-branch) (ported 37415063594d00c896ff3c50496582f0c4e9e3d9 from rhel6-branch)
| | * Add missing '-fcoe' suffix to fipvlan -f option (#823086)Radek Vykydal2012-06-261-2/+4
| | | | | | | | | | | | Related: rhbz#823086
| | * Adapt to fipvlan naming change (#823086)Radek Vykydal2012-06-261-2/+2
| | | | | | | | | | | | | | | | | | The "-f" option keeps former naming with "-fcoe" suffix. Resolves: rhbz#823086
| | * Find initiator name for partial offload iscsi bnx2i devices (#830756)Radek Vykydal2012-06-261-3/+5
| | | | | | | | | | | | Resolves: rhbz#830756
| | * Handle offload qla4xxx iscsi devices properly (#823810)Radek Vykydal2012-06-263-21/+70
| | | | | | | | | | | | | | | | | | | | | | | | These kind of devices, when qla4xxx.ql4xdisablesysfsboot=1, is discovered by anaconda/udev as iscsi device yet it can not be handled by iscsiadm so we need to treat it specially. Resolves: rhbz#823810
| | * Set network configuration for root on partial offload iscsi devices (#819132)Radek Vykydal2012-06-261-2/+2
| | | | | | | | | | | | | | | | | | Set NM_CONTROLLED to "no" and pass ip= and ifname= parameters to dracut. Resolves: rhbz#819132
| | * Fix handling of invalid bios disks (#819721)Jesse Keating2012-06-211-1/+1
| | |
| * | Do not run Gtk.main() from a separate thread in exception handlingVratislav Podzimek2012-08-031-2/+25
| | | | | | | | | | | | | | | | | | Multiple threads drawing in a Gtk.main loop cause Gtk crash. To prevent such crashes, we need to run exception handling dialogs in the same thread as the main loop (if running).
| * | Do not run __del__() on anaconda interface in runDebugVratislav Podzimek2012-08-031-2/+0
| | | | | | | | | | | | UserInterface object no longer has the __del__() method.
| * | Add mainExceptionWindow and saveExceptionWindow methods to the interfacesVratislav Podzimek2012-08-032-0/+23
| | | | | | | | | | | | | | | | | | | | | python-meh has its own methods, but we have our own exception handling code (inherited from the python-meh's one) that needs access to both python-meh UI and anaconda UI. Hence anaconda's UIs need a mainExceptionWindow and saveExceptionWindow methods calling the python-meh's ones (GUI or TUI).
| * | Select language-specific groups as part of doInstall.Chris Lumens2012-08-023-5/+21
| | | | | | | | | | | | | | | This means you get the whatever-support group installed if you have the whatever language selected during installation.
| * | Correct the location of the detailederror.glade file.Chris Lumens2012-08-021-1/+1
| | |
| * | Extended partitions containing in-use logical partitions are also in-use.Chris Lumens2012-08-021-0/+4
| | |
| * | Add packaging log and scriptlet loggingBrian C. Lane2012-08-023-4/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new logfile for packaging (/tmp/packaging.log) which will contain everything related to yum and rpm as well as other package systems when they are added. This also re-adds logging of the rpm scriptlet output. The 'Installing ...' messages end up being logged twice. Because rpm only logs to a file we capture the scriptlet output along with the package install message so that you can associate scriptlet problems with their package. This adds this file's log to our logs after the transaction is complete (or fails).
| * | Remove backend_logBrian C. Lane2012-08-024-136/+2
| | | | | | | | | | | | | | | | | | The second instance of rsyslog is not needed, and it interferes with virtio logging. The yum and rpm file io logging will be dealt with in another patch.
| * | Update rescue mode to continue working in the newui world.Chris Lumens2012-08-012-90/+61
| | | | | | | | | | | | | | | | | | | | | | | | This is still just the existing newt rescue mode interface, but with adding advanced devices removed (requires other code that no longer exists). Of course, this all needs to be removed and replaced by something that does not use newt in the future but for now, it's enough of a stop-gap to fulfill release requirements.
| * | The text network config screen should take an intf, not an anaconda.Chris Lumens2012-08-011-7/+6
| | | | | | | | | | | | | | | | | | This is needed to have it work in the rescue mode interface, though it has not yet been tested due to the difficulty of testing an updates image without active networking.
| * | Remove upgrade.py and associated tests.Chris Lumens2012-08-011-341/+0
| | | | | | | | | | | | | | | All upgrading will be handled by an external process, and this gets rid of callers to some storage functions that I need to make rescue mode work again.
| * | Move the contents of bindMountDevDirectory to storage, where it's called.Chris Lumens2012-08-011-3/+4
| | |
| * | log package installationBrian C. Lane2012-08-011-3/+4
| | | | | | | | | | | | | | | log to syslog as well as /mnt/sysimage/root/install.log so that virtio and remote logging see the progress of the install.