summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fix handling of existing btrfs subvolumes.David Lehman2012-07-265-19/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the highlights: We weren't setting self.originalFormat correctly when implicitly setting the btrfs format. Also, we didn't have any code to discern subvolumes when parsing /etc/fstab. We were passing volume id as volume path/name when populating the device tree. Lastly, we were clobbering the subvol= mount option when mounting a btrfs subvolume to check it for existing roots.
| * | Catch exceptions when trying to remove devices from libparted's cache.David Lehman2012-07-251-1/+4
| | |
| * | reboot after kickstartBrian C. Lane2012-07-252-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify the continueButton to exit (allowing the anaconda exitHandler to take control) if it is the last action. The button is expected to be setup so that it is clear to the user what will happen (eg. REBOOT). This also fixes the display of the quitDialog when rebooting. Add a click of the final button when kickstarting with reboot or shutdown. halt also works, but requires a new version of pykickstart. Previously the halt command was not working, it would set action to KS_SHUTDOWN and there was no way for KS_WAIT to be set.
| * | Update POTFILES.in to include the new glade files.Chris Lumens2012-07-251-16/+17
| | |
| * | Move all .ui files to a .glade extension.Chris Lumens2012-07-2530-29/+29
| | | | | | | | | | | | | | | | | | xgettext is dumb and only looks at file extensions. It has no way to let you tell it what extension maps to what language on the command line. Thus, out glade files must be .glade if they are to get translated.
| * | Add support for loading defaults for an interactive install from a ks file.Chris Lumens2012-07-243-10/+32
| | | | | | | | | | | | | | | | | | Kickstart and interactive installs differ in certain default settings. This allows loading those differences from somewhere without having to complicate the code with lots of conditionals.
| * | Update the authconfig command to work.Chris Lumens2012-07-243-25/+22
| | |
| * | Add a detailed error dialog to be used by dep solving errors, and others.Chris Lumens2012-07-244-8/+226
| | | | | | | | | | | | | | | | | | It's not quite perfect looking yet, and not all the buttons work, and the buttons need to be generalized to work elsewhere. However it's a pretty good start.
| * | Provide a way to run apply methods even if a spoke wants us to skip elsewhere.Chris Lumens2012-07-234-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This first fixes a bug where a spoke's apply and execute methods were being run even when skipTo was set. In this case, we don't usually want apply to be run because the user needs to do something else first. In particular, skipping from the dep solving error dialog (still in progress) to the software selection screen was resulting in problems. Having fixed that, some spokes do actually need to have apply run even when skipping. Storage is a prime example of that.
| * | Allow clicking on the InfoBar to emit a signal.Chris Lumens2012-07-232-2/+55
| | | | | | | | | | | | This can be handled higher up in the python portion of the UI if desired.
| * | add encryption passphrase when doing encrypted autopartBrian C. Lane2012-07-201-4/+10
| | | | | | | | | | | | | | | The AutoPart execute method sets up the needed information, use it when creating the encrypted partitions.
| * | Merge branch 'newui' into newui-ks-partBrian C. Lane2012-07-2016-804/+493
| |\ \
| | * | Put every build requirement on its own line.Chris Lumens2012-07-201-3/+7
| | | | | | | | | | | | | | | | Otherwise, the install-buildrequires makefile target won't work.
| | * | Extend makeupdates to build and install new anaconda widgets.Chris Lumens2012-07-201-2/+44
| | | |
| | * | remove Network(): list of network devices, final stepsRadek Vykydal2012-07-2011-71/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is almost the final step, the object is not used anymore, I am keeping the rest only not to forget to handle what is left: - I need to look at imageInstall - creating default ifcfg files (setDefaultConfig) should go to dracut or some network initialization step The whole patchset removes anaconda.network object aiming to have all data/configuration in ksdata. The object was needed for our GUI using nm-c-e. We used to keep list of device configuration objects (basically ifcfg dictionaries) in it so that we could tweak them to be able to use nm-c-e for configuration/activation of devices. Now it seems we can do without the list although we still need to do some modifications of ifcfg files at the end of installation (setting onboot policy, setting values for devices used for storage) Hopefuly we'll be able to represent all the data stored in network object in ksdata. Following to the patchset I want to update ksdata with NetworkData objects for all devices and use it to replace network.getDevices(). I have to think where it should happen: - in kickstart.py - or somewhere in pre-gui network initialization (so that it happens also for non-ks cases) where we e.g. activate default device if needed. - or in initialize of standalone spoke - seems to late, we'll need it already for eventual bring-up of network ----- To sum up what the network.py serves for now: Some of network utility functions (more of them are in isys): - hostname sanity checking - ip sanity checking - hostname resolution - status of networking - connected? - list of active devices - logging (ifcfg files) Network configuration: - hostname setting (getting?) - note: storage (lvm, raid) is using hostname for default names - ksdevice resolution (link, MAC address, bootif) - probably we'll be able to remove it, now it is only used for unspecified --device in kickstart network command - write kickstart (currently from ifcfg config) - used by apply method - write dracut arguments (from ifcfg config) - note: depends on storage - modify configuration of target system (ifcfg files) - note: depends on storage - ONBOOT policy (differs on rhel and Fedora) - FCoE - ONBOOT=yes the devices - root on iSCSI - NM_CONTROLLED=no for root on iscsi (there is a NM BZ to fix this) - write /etc/sysconfig/network configuration - this should be reviewed - copy network configuration files to system - ifcfg-<iface> files and wireless key-<iface> files - dhclient-<iface>.conf files (dhcpclass and dhcp timeout which is not supported in noloader) - /etc/sysconfig/network - /etc/resolv.conf - genrated by NM - /etc/udev/rules.d/70-persistent-net.rules (review) - disable ipv6 on target system (noipv6 boot/ks option)
| | * | remove Network(): write (configuration) methodRadek Vykydal2012-07-204-83/+45
| | | | | | | | | | | | | | | | | | | | It got reduced just to writing of /etc/sysconfig/network. We'll need to review how much of it is still needed/relevant.
| | * | remove Network(): disabling of ipv6Radek Vykydal2012-07-203-12/+21
| | | |
| | * | remove Network(): post-configuration of devices used for storageRadek Vykydal2012-07-203-72/+54
| | | |
| | * | remove Network(): ifcfg files will have been already written (in ks or GUI)Radek Vykydal2012-07-201-6/+0
| | | |
| | * | remove Network(): writeKSRadek Vykydal2012-07-201-13/+0
| | | | | | | | | | | | | | | | This seems not to be used anymore as this happens in newui apply.
| | * | remove Network(): setupDracutArgsRadek Vykydal2012-07-202-32/+23
| | | |
| | * | remove Network(): device description attribute of NetworkDeviceRadek Vykydal2012-07-201-4/+0
| | | |
| | * | remove Network(): hostname attributeRadek Vykydal2012-07-204-27/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NM is setting hostname and we might be resetting it in kickstart.py. It is stored in ksdata with unfortunate access (iterating over network commands). Hostname handling will need some more work in newui. Here I am just giving another stab to Network() object.
| | * | remove Network(): ksdevice attributeRadek Vykydal2012-07-203-28/+33
| | | | | | | | | | | | | | | | It is used only in kickstart.py in newui
| | * | remove Network(): copying configuration to target systemRadek Vykydal2012-07-204-74/+64
| | | |
| | * | remove Network(): remove methods needed only for old UIRadek Vykydal2012-07-202-111/+0
| | | |
| | * | remove Network(): remove another unused methodRadek Vykydal2012-07-203-34/+1
| | | |
| | * | remove Network(): better style - use anyRadek Vykydal2012-07-201-2/+1
| | | |
| | * | remove Network(): ifcfg -> dracut args mappingRadek Vykydal2012-07-201-59/+62
| | | |
| | * | remove Network(): remove unused functionsRadek Vykydal2012-07-204-215/+119
| | | | | | | | | | | | | | | | | | | | move some methods out of Network object still keeping old ui working
| * | | set ignoredisk.onlyuse only if not set by kickstartBrian C. Lane2012-07-202-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | When using a kickstart only set ignoredisk.onlyuse if it was not set in the kickstart. If setting it, filter out disks from the ignoredisk list.
| * | | rename Group and Script in kickstart.pyBrian C. Lane2012-07-201-5/+7
| | | | | | | | | | | | | | | | | | | | The import of Group from parser conflicted with the system Group class, so rename it to KSGroup. Also renamed Script to KSScript.
| * | | reraise error if there is no uiBrian C. Lane2012-07-191-1/+1
| | | |
| * | | fix grub2 install on RAIDBrian C. Lane2012-07-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | grub2 install was appending to the argument list while looping on the component devices this would result in a bogus commandline for the second device.
| * | | setup bootloader and partitioning for kickstartBrian C. Lane2012-07-193-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | after executing the kickstart commands setup the bootloader and partitions before continuing. Also add logging of any errors found by storage.sanityCheck
| * | | add execute methods for partition related ks classesBrian C. Lane2012-07-191-4/+40
| | | | | | | | | | | | | | | | Iterate over the kickstart filesystem and partition data.
| * | | refactor doKickstartStorage slightlyBrian C. Lane2012-07-193-7/+10
| |/ /
| * | And remove the .pot file's dependency on the old glade files.Chris Lumens2012-07-191-21/+0
| | |
| * | Move s390 boot device checking into sanityCheck, where it will be called.Chris Lumens2012-07-191-38/+15
| | |
| * | Remove the old UI's glade files.Chris Lumens2012-07-1922-7571/+1
| | | | | | | | | | | | | | | Without gui.py and iw/, they're not useful anymore except as examples of what not to do on newui.
* | | Add automake files for TUIMartin Sivak2012-08-0611-4/+123
| | |
* | | add couple of tests and fix write method of widget (newline added unwanted ↵Martin Sivak2012-08-062-11/+41
| | | | | | | | | | | | space)
* | | add couple of tests and support for themMartin Sivak2012-08-062-1/+93
| | |
* | | add documentation and comments to TUI classesMartin Sivak2012-08-064-36/+136
| | |
* | | Add documentation to the simpleline library for TUIMartin Sivak2012-08-062-58/+323
| | |
* | | Add the new Summary hub and Password TUI spokes + tools to test TUI stuffMartin Sivak2012-08-064-0/+158
| | |
* | | Fix bits and pieces to make TUI hub and spoke model work + example Hub and ↵Martin Sivak2012-08-069-93/+148
| | | | | | | | | | | | Password spoke
* | | Create common abstract classes usable for all types of UIMartin Sivak2012-08-0618-375/+467
| | |
* | | Create the base classes for TUI Hub and Spoke modelMartin Sivak2012-08-064-0/+225
| | |
* | | Make collect and part of UserInterface setup more genericMartin Sivak2012-08-062-5/+44
| | |