| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
loader used to put the install source at /mnt/install/source; we're
moving to /run but it simplifies things to keep the directory name the
same.
This lets us just symlink /mnt/install to /run/install and things should
work like they used to.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If we brought up any interfaces in stage1, we need NetworkManager to
take them over before anaconda starts.
We *could* do this conditionally and delay NM startup until needed, but
this is the simplest fix for now.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
anaconda expects any device brought up in stage1 to still be active, so
let's make sure we pass along the required info for NetworkManager.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make sure that /tmp/net.ifaces exists; this file triggers the dracut
'ifcfg' module and makes it copy all the files in /tmp/ifcfg to
/run/initramfs/state/etc/sysconfig/network-scripts.
Then fedora-import-state.service picks those files up and off we go!
(We could write them to state/etc/... ourselves, but we want dracut to
be able to overwrite the files in /tmp/ifcfg if it needs to)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
initscripts-9.35-1 contains fedora-import-state.service, so we can drop
this from here.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If you set --no-memcheck or inst.memcheck=0, check_memory will just
current/required RAM amounts (along with a prominent message that the
check was disabled) and continue.
This will help us test on low-memory machines.
|
| | | |
| | | |
| | | |
| | | | |
Had a '&&' where I needed '||'. Oops. Thanks to bcl for catching it.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
run_kickstart used to be in parse_kickstart, but it got moved out
(because ks=file:// happens during the cmdline phase, it doesn't need to
run, just parse)
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
python is better at figuring out python deps this way.
big thanks to bcl for showing me python's "modulefinder" module.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
rpmbuild wants to build .pyc/.pyo files for it, and we don't need/want
that.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
and modify module-setup.sh accordingly
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
we only want to display these warnings once. but we might re-run
parse-anaconda-repo after reading the kickstart.
move 'em all into parse-anaconda-options, which only gets run once.
|