| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds a new logfile for packaging (/tmp/packaging.log) which will
contain everything related to yum and rpm as well as other package
systems when they are added. This also re-adds logging of the rpm
scriptlet output.
The 'Installing ...' messages end up being logged twice. Because rpm
only logs to a file we capture the scriptlet output along with the
package install message so that you can associate scriptlet problems
with their package. This adds this file's log to our logs after the
transaction is complete (or fails).
|
| | |
| | |
| | |
| | |
| | |
| | | |
The second instance of rsyslog is not needed, and it interferes with
virtio logging. The yum and rpm file io logging will be dealt with
in another patch.
|
| | |
| | |
| | |
| | |
| | | |
This patch looks scarier than it is, laregely because it requires unindenting
a bunch of code to not have a rescue mode test involved.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is still just the existing newt rescue mode interface, but with adding
advanced devices removed (requires other code that no longer exists). Of
course, this all needs to be removed and replaced by something that does not
use newt in the future but for now, it's enough of a stop-gap to fulfill
release requirements.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This is needed to have it work in the rescue mode interface, though it has
not yet been tested due to the difficulty of testing an updates image without
active networking.
|
| | |
| | |
| | |
| | |
| | | |
All upgrading will be handled by an external process, and this gets rid of
callers to some storage functions that I need to make rescue mode work again.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
log to syslog as well as /mnt/sysimage/root/install.log so that virtio
and remote logging see the progress of the install.
|
| | |
| | |
| | |
| | |
| | | |
The rsyslog template for forwarding logs over virtio was lost when
loader was removed.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Keep the yum cache instead of deleting it and re-downloading it.
This saves time and bandwidth, and also helps reduce memory since / is
on a ram backed device-mapper device.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
We need to require a newer (Gtk3) version of python-meh.
|
| | |
| | |
| | |
| | |
| | | |
People usually don't know that 'continue' command quits the debugger,
so display them a little hint.
|
| | |
| | |
| | |
| | |
| | | |
Killing ananconda left no way to report a bug via python-meh/libreport
once user entered the post-mortem pdb session.
|
| | |
| | |
| | |
| | |
| | | |
Now that python-meh is ported to Gtk3, we can again use its UI in
exception handling.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
This is handled by the bootloader ksdata execute method.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some of the highlights:
We weren't setting self.originalFormat correctly when implicitly
setting the btrfs format.
Also, we didn't have any code to discern subvolumes when parsing
/etc/fstab.
We were passing volume id as volume path/name when populating the
device tree.
Lastly, we were clobbering the subvol= mount option when mounting
a btrfs subvolume to check it for existing roots.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Modify the continueButton to exit (allowing the anaconda exitHandler to
take control) if it is the last action. The button is expected to be
setup so that it is clear to the user what will happen (eg. REBOOT).
This also fixes the display of the quitDialog when rebooting.
Add a click of the final button when kickstarting with reboot or
shutdown.
halt also works, but requires a new version of pykickstart. Previously
the halt command was not working, it would set action to KS_SHUTDOWN and
there was no way for KS_WAIT to be set.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
xgettext is dumb and only looks at file extensions. It has no way to let
you tell it what extension maps to what language on the command line. Thus,
out glade files must be .glade if they are to get translated.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Kickstart and interactive installs differ in certain default settings. This
allows loading those differences from somewhere without having to complicate
the code with lots of conditionals.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
It's not quite perfect looking yet, and not all the buttons work, and the
buttons need to be generalized to work elsewhere. However it's a pretty
good start.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This first fixes a bug where a spoke's apply and execute methods were being run
even when skipTo was set. In this case, we don't usually want apply to be run
because the user needs to do something else first. In particular, skipping from
the dep solving error dialog (still in progress) to the software selection
screen was resulting in problems.
Having fixed that, some spokes do actually need to have apply run even when
skipping. Storage is a prime example of that.
|
| | |
| | |
| | |
| | | |
This can be handled higher up in the python portion of the UI if desired.
|
| | |
| | |
| | |
| | |
| | | |
The AutoPart execute method sets up the needed information, use it when
creating the encrypted partitions.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
Otherwise, the install-buildrequires makefile target won't work.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is almost the final step, the object is not used anymore,
I am keeping the rest only not to forget to handle what is left:
- I need to look at imageInstall
- creating default ifcfg files (setDefaultConfig) should go to
dracut or some network initialization step
The whole patchset removes anaconda.network object aiming to have all
data/configuration in ksdata.
The object was needed for our GUI using nm-c-e. We used to keep list of device
configuration objects (basically ifcfg dictionaries) in it so that we could
tweak them to be able to use nm-c-e for configuration/activation of devices.
Now it seems we can do without the list although we still need to do some
modifications of ifcfg files at the end of installation (setting onboot policy,
setting values for devices used for storage)
Hopefuly we'll be able to represent all the data stored in network object
in ksdata.
Following to the patchset I want to update ksdata with NetworkData objects
for all devices and use it to replace network.getDevices(). I have to think
where it should happen:
- in kickstart.py
- or somewhere in pre-gui network initialization (so that it happens also
for non-ks cases) where we e.g. activate default device if needed.
- or in initialize of standalone spoke - seems to late, we'll need it
already for eventual bring-up of network
-----
To sum up what the network.py serves for now:
Some of network utility functions (more of them are in isys):
- hostname sanity checking
- ip sanity checking
- hostname resolution
- status of networking
- connected?
- list of active devices
- logging (ifcfg files)
Network configuration:
- hostname setting (getting?)
- note: storage (lvm, raid) is using hostname for default names
- ksdevice resolution (link, MAC address, bootif)
- probably we'll be able to remove it, now it is only used
for unspecified --device in kickstart network command
- write kickstart (currently from ifcfg config)
- used by apply method
- write dracut arguments (from ifcfg config)
- note: depends on storage
- modify configuration of target system (ifcfg files)
- note: depends on storage
- ONBOOT policy (differs on rhel and Fedora)
- FCoE - ONBOOT=yes the devices
- root on iSCSI - NM_CONTROLLED=no for root on iscsi
(there is a NM BZ to fix this)
- write /etc/sysconfig/network configuration
- this should be reviewed
- copy network configuration files to system
- ifcfg-<iface> files and wireless key-<iface> files
- dhclient-<iface>.conf files
(dhcpclass and dhcp timeout which is not supported in noloader)
- /etc/sysconfig/network
- /etc/resolv.conf - genrated by NM
- /etc/udev/rules.d/70-persistent-net.rules (review)
- disable ipv6 on target system (noipv6 boot/ks option)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
It got reduced just to writing of /etc/sysconfig/network.
We'll need to review how much of it is still needed/relevant.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
This seems not to be used anymore as this happens in newui apply.
|
| | | | |
|
| | | | |
|