| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Originally, parsing inst.ks.{sendmac,sendsn} happened in
parse-anaconda-kickstart.sh. But it turned out that sendmac needed to
happen after the modules were loaded, so commit 4fcc157 tried to fix
this by making it a function, and using initqueue to run that function
in the 'initqueue/settled' hook.
Well, it turns out initqueue doesn't like adding jobs that are function
names - the job ends up empty and nothing happens.
So instead, let's handle these two arguments directly in a script that
runs in initqueue/settled.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The kickstart parsing that happens in dracut is the "early" parsing - it
doesn't run %pre and it might not be connected to the network, so it's
possible we'll have %include lines that aren't yet valid.
KickstartParser has a 'missingIncludeIsFatal' attribute for this reason.
Set it to False (like loader did) to turn off these errors.
|
| |
| |
| |
| | |
..I mean, let's not beat around the bush, here.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
This is just so that removing a subvol in the custom ui has the
expected result of shrinking the container to just large enough
to hold the remaining subvolumes.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
General Approach:
Instead of an all-or-nothing approach, the goal is to come as close
as possible to satisfying the new device specification. Once the
container has been allocated, we simply adjust the new device's
size as needed to fit in the container.
This uses growable partition requests, but it then fixes their size
as soon as they have been allocated. It also changes doPartitioning
to reallocate container member devices each time instead of fixing
them on disk once the container is defined. Since the members are
not growable anymore once the container is defined, this is less
disruptive than it would otherwise be. It allows for maximum
flexibility to allocate the set of requests while still preserving
already-defined containers' sizes.
Notes:
Creation of md devices is completely untested.
Creation any device (md, lvm, btrfs) with striping, mirroring, or
any other RAID-like features is completely untested.
There is no support for container members of any type other than
normal partitions.
|
| |
| |
| |
| |
| |
| |
| |
| | |
SameSizeSet is for mirrored container devices, and ensures that
all members in the set end up the same size.
TotalSizeSet is for non-mirrored container devices, and tries to
achieve a target combined size for devices in the set.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Also moves default extent size and default pv metadata size to a
constant defined in devicelibs.lvm until we get a way to query
lvm for this stuff.
|
| | |
|
| |
| |
| |
| |
| | |
For UEFI Secure Boot support, we need to install the shim pre-boot
loader, and use it to load grub2.
|
| |
| |
| |
| |
| |
| |
| | |
If python-meh catches an exception from a different thread before
GraphicalUserInterface's Gtk main loop is running, it runs its own
loop. Running another one from a different thread would cause Gtk
crash. So lets juts wait for the reboot.
|
| |
| |
| |
| |
| | |
Ongoing discussion on where tests should live, so remove the test for
now to get the rest of the code pushed.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
It kinda worked to indirectly access collect through another module, but
it is non-obvious what is going on. This makes sure we just use it
directly from the module where the code lives.
|
| | |
|
| | |
|
|\| |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This takes some of my code, and some of wwoods' code and rewrites
SimpleConfigFile to support a wider range of uses. It can now
preserve comments and whitespaces in config files and can quote
(or not) values when reading and writing them.
|
| |
| |
| |
| |
| |
| | |
We need this to see tracebacks that happen before exception handling is set
up. This includes a fair number of tracebacks, as we are very sloppy with
our importing.
|