| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Merge baseudev into storage.udev.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Related: rhbz#747278
|
|
|
|
|
| |
Without vconsole.keymap on kernel command line, dracut/plymouth
uses 'us' as keymap in LUKS password prompt.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
We have to ignore disks with hidden formats for most purposes. Examples
of such disks are multipath member disks and fwraid member disks.
|
| |
|
| |
|
|
|
|
| |
Related: rhbz#838736
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
By always creating them outside the chroot, we can copy them into the
chroot later into a non tmpfs filesystem.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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".
|
| |
|
| |
|
|
|
|
|
| |
We now use ksdata and execute methods for storing and writing
configuration.
|
|
|
|
|
| |
Writing NTP configuration is not so important that it should stop the
post-installation steps. Warning in the log should be more appropriate.
|
|
|
|
|
|
|
| |
Iff user turned NTP ON, we need to make sure chrony gets installed
and enabled and save NTP configuration.
Resolves: rhbz#851323
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Support in pyanaconda/kickstart.py is there since 08440435d06, but the support
in pykickstart was missing.
(ported 21d2ff99cc6ebae7c9b63229ab5f0b7d44959af4 from rhel6-branch)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| | |
|