| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
NM is setting hostname and we might be resetting it in kickstart.py.
It is stored in ksdata with unfortunate access (iterating over
network commands).
Hostname handling will need some more work in newui. Here I am just
giving another stab to Network() object.
|
| | | |
| | | |
| | | |
| | | | |
It is used only in kickstart.py in newui
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
move some methods out of Network object
still keeping old ui working
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When using a kickstart only set ignoredisk.onlyuse if it was not set in
the kickstart. If setting it, filter out disks from the ignoredisk
list.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The import of Group from parser conflicted with the system Group class,
so rename it to KSGroup. Also renamed Script to KSScript.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
grub2 install was appending to the argument list while looping on the
component devices this would result in a bogus commandline for the
second device.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
after executing the kickstart commands setup the bootloader and
partitions before continuing. Also add logging of any errors found
by storage.sanityCheck
|
| | | |
| | | |
| | | |
| | | | |
Iterate over the kickstart filesystem and partition data.
|
| |/ / |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Without gui.py and iw/, they're not useful anymore except as examples of
what not to do on newui.
|
| | | |
|
| | |
| | |
| | |
| | | |
space)
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Password spoke
|
| | | |
|
| | | |
|
| | | |
|