| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Don't generate it for base repo which corresponds to kickstart
install url/nfs/cdrom command.
Don't generate if for addon repos from media, which would fail.
Resolves: rhbz#738577
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Prevents using the same UUIDs for multiple installations when NM creates
UUID for already existing ifcfg file based on hashing of configuration
file name.
Resolves: rhbz#705328
|
| | | |
| | | |
| | | |
| | | | |
brcm_iscsuio is symlink to iscsiuio currently.
|
| | | |
| | | |
| | | |
| | | | |
Resolves: rhbz#755147
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Without it we hit KickstartValueError in stage 2.
|
| | | |\
| | | | |
| | | | |
| | | | | |
into f17-branch
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If you import locale before the file(s) get created, you end up with a
traceback from locale that says:
Error: unsupported locale setting
And this happens no matter what the locale is.
We used to create the locale files for the default lang in loader, so
now let's have anaconda declare a default locale and build its locale
data before we import locale.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Macs object to seeing the active flag set in the pmbr, even if they're
booting via BIOS. Avoid doing that.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Setting a GPT partition as bootable changes it to the EFI system partition
type, which is defined as FAT. Doing this for HFS+ confuses the firmware.
Skip setting it bootable in this scenario - the firmware is fine with that.
|
| | | |/
| | | |
| | | |
| | | |
| | | | |
HFS+ filesystems will be mounted read-only if they're not clean, so get
fstab set up correctly.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It was missing an argument.
Signed-off-by: Brian C. Lane <bcl@redhat.com>
|
| | | |
| | | |
| | | |
| | | | |
hfs+ is called hfsplus in-kernel, so it's needed.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Macs are slightly special in terms of their UEFI implementation. The
easiest way to handle boot choice is via the firmware boot picker menu,
which doesn't make use of EFI boot variables. In order for something to
show up here, the filesystem needs to be HFS+ and have some magic done
to it. Handle this case by detecting that we're on a Mac and using an HFS+
/boot/efi partition rather than a FAT one. That lets us then install the
mactel-boot package which will deal with configuring the bootloader.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
We'll want to actually create HFS+ partitions, so add the missing bits
for that.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
(cherry picked from commit 15307cc091212cc69b599b90c239492c9c9586ec)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We switched from using the lvs command to the pvs command in our
udev rules, so now we have to count the _mimage_XX volumes to
determine the number of stripes in a mirrored lv.
(cherry picked from commit a61db25a98baae3cc56e5b6ede693ba887662ba6)
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When an installed system cannot be upgraded it may be helpful to know if
it was the product, version or arch that didn't match. This propagates
that info up from productUpgradable so that it can be show to the user.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Macs won't boot with the PMBR boot flag set, and EFI systems won't need
it set so skip it when the system is an EFI system.
Signed-off-by: Brian C. Lane <bcl@redhat.com>
|
| | | | |
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Merge the noloader branch into master. Hooray!
Conflicts:
data/systemd/Makefile.am
data/systemd/anaconda.target
data/systemd/fedora-import-state
loader/loader.c
loader/net.c
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If you're booting from a CD but using a kickstart for other stuff, we
still need to set up / retrigger block stuff *even though you don't have
a repo defined by the kickstart*.
The problem was two things: first, we were leaving $root set to
"anaconda-kickstart", so parse-anaconda-repo.sh didn't change anything.
Second, when root was set to "anaconda-auto-cd" because there wasn't a
inst.repo arg, we never triggered the disk magic. So we never found the
CD.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
So yeah, re-parsing the whole commandline just makes us emit error
messages and doesn't write out the ifcfg lines we wanted, so let's not
do that.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(note that the one for the ksdevice will get overwritten by dracut,
but that's OK)
update comments to reflect current limitations etc.
oh, and AFAICT loader just uses DHCP for BOOTP, so handle BOOTP like
DHCP if we see that. (which we won't.)
|
| | | | |
| | | | |
| | | | |
| | | | | |
I guess some people might want this?
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
First, cleanup: don't bother with /tmp/ks.info, export "$ksdevice".
Next: we need to specify which net interface is the bootdev if we've got
more than one. So:
- if we get a specific ksdevice from the cmdline, set "bootdev=$ksdevice"
- otherwise (ksdevice=link etc.) set $ksdevice when a device comes up..
- ..and set "bootdev=$ksdevice" from parse-kickstart if needed.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Re-running the cmdline hook will cause the 'network' module to write out
the network config files, which should make the 'ifcfg' module write
ifcfg-eth* files, which should fix the kickstart 'network' command.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently anaconda will crash if we don't set rd.luks=0. The others
anaconda can *mostly* handle but historically they would have been set
to 0, so it's more reliable if we do it that way.
Someday soon we'll make sure anaconda can handle already-active devices
and we'll remove this block of code. Really.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The options are stored without "inst." so when parsing boot arguments
we need to first strip the "inst." if present.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Was missing a comma. Whoops.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
udev properties need to be set when udev is running. As it turns out,
that's basically what the pre-trigger hook exists for.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If inst.ks is on the commandline, the dracut module fetches and
preprocesses the kickstart, then saves it to /run/install/ks.cfg.
So if we see a 'ks' option on the boot commandline, anaconda's option parser
should assume that the ksfile is /run/install/ks.cfg.
On the other hand, the '--kickstart' option can still be used on the
commandline to set ksfile to a different filename.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- we should run the kickstart before anything else
- don't run netroot again if it's already finished
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
following getty@.service, make sure we run the shell after plymouth
quits, etc.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
dracut writes out an ifcfg-ethX file and a dhclient lease file for the
interface used to mount the runtime. We need to pass that along to
NetworkManager so it won't bring down the interface we're using for our
root device.
This service copies the contents of the /run/initramfs/state directory
into its intended place, as would normally be done in fedora-readonly
for NFS readonly-root systems.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We need to hand over the ifcfg file and dhclient lease to NetworkManager
to keep it from trashing our network interface when we're using NFS
root.
To get the files written by the ifcfg module, we need to make sure a few
things are set up properly.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
replace anaconda{nfs,url}root with anaconda-netroot.sh
fix up the arg parsing accordingly
|
| | | | |
| | | | |
| | | | |
| | | | | |
Also, make the ks parsing stuff write needed info to /tmp/ks.info.
|
| | | | |
| | | | |
| | | | |
| | | | | |
also, make sure we set it when we have a kickstart.
|