summaryrefslogtreecommitdiffstats
path: root/pyanaconda/kickstart.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow new KS commands to be created by AddonsMartin Sivak2013-01-301-1/+21
|
* Remove the storage module and replace it with blivet.David Lehman2013-01-281-22/+22
|
* Move tsort, platform, and baseudev into storage.David Lehman2013-01-281-1/+0
| | | | Merge baseudev into storage.udev.
* Remove unused functions and move storage-specific utils to storage.David Lehman2013-01-281-1/+2
| | | | | | | | | | | | | | | | | | | This is the first pass at setting things up to split storage out into a separate package. It replaces the guts of iutil.execWithRedirect and iutil.execWithCapture with a single backend function, _run_program. The main thing I can think of that might be cause for complaint is that _run_program does not log each output line as the external program outputs it, so you get the whole output buffer at once. Storage gets its own copy of _run_program and all of the calls in storage use the copy from storage.util. The reason I moved all of the iutil arch functions into storage is that they are mostly used in storage and I didn't want there to be two copies of the whole set. The rest is removing of unused things and moving of things only used by storage into storage.
* Handle sending program output to tty5 through the logging setup.David Lehman2013-01-281-9/+2
|
* Prepare structures to save spoke completenes for firstboot and GIEMartin Sivak2013-01-111-0/+28
|
* Set default language to en_US.UTF-8 (#891379)Martin Sivak2013-01-111-0/+5
|
* Collect addon paths properlyMartin Sivak2012-12-181-2/+3
|
* Add support for KS %addon section and the API+code to use itMartin Sivak2012-12-171-5/+35
|
* Validate and correct vg names as needed.David Lehman2012-12-131-1/+7
| | | | Related: rhbz#747278
* Add keyboard dracut setup args (#875567)Vratislav Podzimek2012-12-131-0/+3
| | | | | Without vconsole.keymap on kernel command line, dracut/plymouth uses 'us' as keymap in LUKS password prompt.
* Unify writeNetworkConf with other modules (rename, put in ks.execute)Radek Vykydal2012-12-051-6/+5
|
* Fix network command --onboot and --activate options.Radek Vykydal2012-12-051-129/+2
| | | | | | In dracut we set ONBOOT=yes for --activate so that NM activates the device upon its start, in anaconda we set the real value of ONBOOT.
* Write out xconfig data when executedJesse Keating2012-11-131-3/+8
|
* Honor kickstart bootloader --location=none. (#871143)David Lehman2012-11-091-0/+1
|
* Correct handling of disks with hidden formats. (#866519)David Lehman2012-11-011-2/+3
| | | | | We have to ignore disks with hidden formats for most purposes. Examples of such disks are multipath member disks and fwraid member disks.
* Add missing pieces for kickstart's encryption cipher option.David Lehman2012-10-171-4/+5
|
* update to use firewalld (#815540)Brian C. Lane2012-10-171-0/+32
|
* Add support for specifying encryption cipher mode via kickstart.David Lehman2012-10-151-0/+6
| | | | Related: rhbz#838736
* Minimum we have to do with HW clockVratislav Podzimek2012-10-121-0/+7
|
* Work with VConsole keymap and X layouts separatelyVratislav Podzimek2012-10-121-2/+1
| | | | | | | | | | | | | | | | | We need to set VConsole keymap and X layouts separately. We may get them all from kickstart, but if not, we have to convert the given one to the missing one and save the configuration. If X11 configuration is written before the server is started, it is loaded. This way we can get rid of using XklWrapper in main anaconda script. Also we need to write one more configuration file. And it's better to try to write all configuration files ignoring errors and in case some error(s) appeared, raise exception at the end of the procedure. Resolves: rhbz#853877 Resolves: rhbz#856362 Resolves: rhbz#859867
* Correct lookup of raid.XX "mountpoints" for kickstart installs (#864764).Chris Lumens2012-10-101-2/+2
|
* Create ks script logs outside of chrootJesse Keating2012-10-031-8/+7
| | | | | By always creating them outside the chroot, we can copy them into the chroot later into a non tmpfs filesystem.
* Raise an error if bootDrive is invalidJesse Keating2012-09-251-1/+5
|
* Handle --ignoremissing in _applyYumSelections (#859021).Chris Lumens2012-09-251-51/+0
| | | | | | kickstart.selectPackages can go away entirely, since all it does is add stuff to ksdata and we've got that anyway. Having done that, the handling for --ignoremissing then needs to move into _applyYumSelections.
* fix root password setup (#855481)Brian C. Lane2012-09-091-3/+4
| | | | | | libuser checks the LIBUSER_CONF environmental variable and uses the temporary config file it points to, but in order for this to work it must be set before User() is run.
* The kickstart language-related command is "lang", not "language".Chris Lumens2012-09-061-1/+1
|
* Fix btrfs/lvm/raid kickstart installs (#853649).Chris Lumens2012-09-061-11/+15
| | | | | | This only used to work because we ran all the btrfs/lvm/raid stuff before we allocated partitions. At that point, the "pv.XX" names are no longer valid and have been replaced by things like "sdX".
* Drop the addBase handling in anaconda - if you want a group, list a group.Bill Nottingham2012-09-051-10/+0
|
* Use the F18_Partition class (#853593).Chris Lumens2012-09-041-1/+1
|
* Remove anaconda.instLanguage object and language moduleVratislav Podzimek2012-09-041-0/+6
| | | | | We now use ksdata and execute methods for storing and writing configuration.
* Continue post-installation steps even if writing NTP configuration failsVratislav Podzimek2012-09-031-2/+5
| | | | | Writing NTP configuration is not so important that it should stop the post-installation steps. Warning in the log should be more appropriate.
* Honor user's choice on NTP (ON/OFF)Vratislav Podzimek2012-08-291-3/+6
| | | | | | | Iff user turned NTP ON, we need to make sure chrony gets installed and enabled and save NTP configuration. Resolves: rhbz#851323
* Don't crash if someone gives us bad timezoneVratislav Podzimek2012-08-291-1/+5
|
* Use ksdata.timezone and timezone module instead of anaconda.timezoneVratislav Podzimek2012-08-221-3/+5
| | | | | | | We now use ksdata to store data and execute() methods of kickstart commands to set the installed system up. In order to not place all the code to kickstart.py, timezone.py module gathering all timezone related code was created.
* Remove the last usage of the system-config-date in AnacondaVratislav Podzimek2012-08-221-8/+2
| | | | | | | We now don't use the system-config-date's timezone map and the only remaining thing we use sdate for is determining if some string is a valid timezone. This can be easily replaced and thus scdate can be removed from anaconda dependencies and the installation image.
* Add support for swap --hibernation on LVMVratislav Podzimek2012-08-221-1/+1
| | | | | | | Support in pyanaconda/kickstart.py is there since 08440435d06, but the support in pykickstart was missing. (ported 21d2ff99cc6ebae7c9b63229ab5f0b7d44959af4 from rhel6-branch)
* use F18_PartData for hibernation flag support.Brian C. Lane2012-08-211-1/+1
|
* Return early from doKickstartStorage if there are no disks selected.David Lehman2012-08-171-0/+2
|
* NoSuchGroup is provided by packaging now. yuminstall is on the way out.Chris Lumens2012-08-141-1/+2
|
* Make sure we allocate partitions and grow lvm as needed in kickstart.David Lehman2012-08-131-1/+7
|
* Streamline autopart request setup slightly.David Lehman2012-08-131-2/+1
| | | | | | | | The storage instance contains a platform instance, so there's no need to pass one in explicitly. Also, setDefaultPartitioning seems to be a good place to set fstype for boot requests only once.
* Move setup of new partition weight arg to Storage.newPartition.David Lehman2012-08-131-7/+0
|
* replace lokkit for selinux settings (#815540)Brian C. Lane2012-08-091-0/+20
| | | | | | lokkit is going to be going away, all it did was edit the selinux config file, so do that ourselves with SimpleConfigFile. Also add selinux kickstart execute method
* On interactive installs, default the root account to locked.Chris Lumens2012-08-081-1/+1
| | | | | | | | | It's up to firstboot to set up the first user as the admin. Or, the user can go through with a kickstart install. This requires an updated version of pykickstart that understands the rootpw command doesn't need a password argument if it's just going to lock the account.
* Fix an import error caused by the merge.Chris Lumens2012-08-031-1/+2
|
* Merge branch 'master' into newui-mergeChris Lumens2012-08-031-8/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * 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
| * Move swapSuggestion to storage and use a new suggested algorithm for itVratislav Podzimek2012-06-271-6/+7
| | | | | | | | | | | | | | | | | | 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)
| * Fix handling of invalid bios disks (#819721)Jesse Keating2012-06-211-1/+1
| |