| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
loader was writing the vncpassword out to a file, because:
a) many years ago, VNC got started by loader, and
b) VNC used to need to read its password from a file.
But now it is the Glorious Future and anaconda can just read the
'vncpassword' boot/cmdline arg and hand it to the VncServer object.
This also removes recoverVNCPassword and pw_init_file from the VncServer
class, and the tests associated with them.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
EVERY LAST REFERENCE TO LOADER MUST BE ELIMINATED RARRRR:
- remove references to loader in analog and makeupdates.
- change the default progname in isys/log.c from loader to anaconda.
- reword comments here and there that refer to loader.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Seriously, this thing is old and full of lies. It's good for some laffs:
"The loader is designed to be small to fit within the constraints of
bootable media (floppies are small by modern standards)."
"pcmcia.img - boot image for installing on PCMCIA based systems"
But really, "Last update: Mar 26 2002" is all you need to know.
It'll always be in the git history if you want to read it again.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Creating the initrd and boot.iso is the province of lorax. These scripts
don't really work anymore, so let's not carry them around.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Replace loader.service with anaconda.service, which starts anaconda
directly. Make necessary changes to related files.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This fixes two bugs. The first is that the PReP partition is not created
during a text mode install. The second is that the PReP partition needs
to be zeroed out before grub is run. Grub verifies that no data exists
on the partition before installation.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
logvol and partition get a new option, --resize. It must be combined
with --size=<newsize> and either --onpart or --useexisting.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We need to prevent NM to shut down interfaces, because we have NFS
mounted squash.img in NFS based install.
Resolves: rhbz#799989
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
It happens that the order in which kickstart schedules actions when
a new device is encrypted relies on there being a format create
action for the underlying block device.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Picking a maximum window size can be complicated by multiple monitor
setups as well as not knowing which display anaconda will end up on.
This patch solves the window size problem by examining the xrandr output
and picking the smallest width and height available and setting the size
to that. These are picked independently so that the size chosen can fit
on any display.
This means that on a single display it will use all of the available
space. On a multiple monitor setup it will pick a size that can be used
on any of the connected displays.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Update the text bootloader upgrade dialog to match the GUI one.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
zipl now provides functionality originally provides by our patch
and zipl.conf needs 2 variables set so the behaviour is the same.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Resolves: rhbz#500273
In this initial support all used nodes will be either iface bound
using default iface.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Resolves: rhbz#500273
All devices must be either bonded (using --iface option) or using
default.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Useful for bringing up second interface for iscsi (e.g. for iface bound
and multipathed target)
Related: rhbz#500273
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Resolves: rhbz#500273
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Resolves: rhbz#500273
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Resolves: rhbz#500273
Also write out proper dracut options:
netroot=iscsi:[<servername>]:[<protocol>]:[<port>]:
[<iscsi_iface_name>]:[<netdev_name>]:[<LUN>]:<targetname>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Resolves: rhbz#500273
In this initial support all used nodes will be either iface bound
using default iface.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The support in NM will go to rhel 6.3.
Resolves: rhbz#769145
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When parted sets the boot flag on a GPT labeled disk's partition it
sets the EFI System GUID type. This results in BIOS systems' boot
partition having the wrong GUID type, and EFI systems having multiple
EFI System partitions.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When /usr is on a separate device like LVM or RAID dracut needs
to know about this so add the needed rd.* parameters to the cmdline.
This also works when upgrading.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Resolves: rhbz#727186
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
(cherry picked from commit b756228bd249fca3a6cb6b1bbfa5c1be9392f091)
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This depends only on the block size, which can only be overridden
by someone selecting an fsprofile with a smaller block size.
Related: rhbz#767727
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Related: rhbz#725418
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Also don't use float to compare 2 numbers. Use Decimal instead.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Resolves: rhbz#743784
The case:
We discover LUN on an iface which is part of multipath setup.
If the iface is disconnected after discovery, anaconda doesn't
write dracut ifname argument for the disconnected iface path
(in Network.dracutSetupArgs).
Dracut needs the explicit ifname= because biosdevname
fails to rename the iface (because of BFS booting from it).
|
| | | |/ /
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If the target is not among discovered, return [] instead of
all discovered nodes for all targets (else: branch)
Related: rhbz#752066
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Now that we are running from the squashfs.img on the install media
we cannot eject it until shutdown.
Anacona now uses a dracut shutdown hook to handle ejecting any media
that needs to be ejected.
|
| | | | |
| | | | |
| | | | |
| | | | | |
dracut runs these from the initramfs just before shutdown/reboot
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Don't redo discovery each time when logging to a node.
Skip it if already logged to a node on the same address.
Instead, store the node list on the first discovery. Next discovery
would rewrite information about credentials used for previous login
stored by iscsilib's setAuth() (and accessed later by getAuth()) in
database in /var/lib/iscsi/nodes.
This is port of following commits from rhel6-branch:
commit cc8cfdde3fb7bae7152075504674f6d0a7195fe4
commit dda2355ca424eb97fbca0a144260c9e9cb151a3a
The patches also consolidate code in iscsi.py (UI and ks case). Similar
consolidation has been already done on master with
commit 06ffb569eb417263b2936dfe97969e3d36653e39, but it went
a bit further (removal of addTarget function and moving its code
to kickstart.py) with outlook of removing some limits of kickstart
iscsi setup. I am keeping only the consolidation from rhel6-branch which
goes just to the present functionality. I prefer to have the
same code for rhel6-branch and master and to do the next step
- moving what remained of addTarget after consolidation into kickstart
so for finer ks command options - when the options will actually
be added (which would probably happen on rhel6-branch first anyway).
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Without it we hit KickstartValueError in stage 2.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|