| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
This also changes instClass.setInstallData to instClass.configure, which
makes a little more sense in this post-instdata world.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
This is also the last thing in InstallData.write, so it can go away too.
|
| | |
|
| | |
|
| |
|
|
|
| |
This patch also moves rootPassword into Users where it belongs and auth
into Security where it belongs.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
For now they're just placeholders, but it gives me a place to add method
calls as each objects is removed from instdata.
|
| |
|
|
|
|
| |
This also removes the hack where upgrade can be True, False, or None in order
to test whether we've seen the upgrade screen or not. Instead, it introduces
a global value hack. I consider this the slightly cleaner approach.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
anaconda.ksdata is only non-None if there's a kickstart file, just like
anaconda.isKickstart would be. Therefore, we don't need two variables
to test for the same condition.
|
| | |
|
| |
|
|
|
| |
None of these are used anywhere outside of this class, and inside this class
there's other ways to refer to them.
|
| |
|
|
|
| |
This requires having loader add --headless to the anaconda arguments
automatically on s390, instead of having anaconda figure that out later.
|
| |
|
|
|
|
| |
We probably shouldn't be referring to attributes on the OptionParser object
when we've got a perfectly useful Anaconda object to use. This also allows
removing the displayMode attribute from the InstallData.
|
| |
|
|
|
|
|
|
|
|
|
| |
- Remove unnecessary semi colons in various places
- textw/upgrade_text.py: add a few missing imports
- Fix various missplaced doc strings
- Fix several double imports
- Fix AnacondaKSScript.run: Module 'os' has no 'exists' member
- users.py: Remove double definition of Users.setRootPassword
- yuminstall.py: correct typo reop -> repo
- yuminstall.py: _run: anaconda -> self.anaconda
|
| |
|
|
|
|
|
|
|
|
| |
This UI allows the user to select which devices they would like to include
in the rest of the installation process, sorted out by their types. All
devices not checked will never again be referenced by anaconda, though we
may see their udev information in the logs from time to time. This UI
supports two different ways of looking at things: the simple UI for
regular Fedora users with basic devices, and the complex UI with many tabs
and filtering options.
|
| |
|
|
|
|
|
| |
This is yet another way of running anaconda that gets extremely limited use,
no testing, and no consideration during development to making sure it still
works. Again, we need to stop pretending and get rid of modes that we don't
support.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Whatever form the new entitlement system takes, it is unlikely it will
look like what we've currently got. It's probably better to start over
fresh than attempt to adapt what we've got into supporting the new system.
This will also allow testing of the RHEL6 tree with the right product
name without requiring testers to enter a key.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for storing an X.509 certificate used to encrypt the escrow
data, and a "create backup passphrase" flag, to storage.formats.LUKS,
and support for storing the same options of "autopart" globally to
storage.Storage.
While parsing kickstart directives, download the X.509 certificates
specified in thekickstart file (if any), enabling network access if
necessary, then store the data in the above-described storage objects.
While autopartitioning, copy the "autopart" escrow options into each
created LUKS volume.
Finally, as a part of doPostInstall, find all LUKS volumes with escrow
configured, create the escrow files and store them in /mnt/sysimage/root.
Changes since the previous version:
- Drop unused .encryptedDevice assignments
- Move writeEscrowPackets inside doPostInstall
- Fix bugs introduced while moving code to storage.formats.LUKS
Further changes:
- Don't pass escrow args to lvmpv format constructor.
- Move backup passphrase generation into storage.devicelibs.crypto.
- Use newer, clearer except syntax in storage.writeEscrowPackets.
|
| |
|
|
|
|
|
|
|
| |
Currently we are passing storage and network to booty's __init__, for
writing the necessary kernel cmdline parameters for dracut for international
consoles / keyboards booty will also need access to keyboard and language,
instead of passing these all in seperately just pass InstalltData to booty's
__init__. This is a preparation patch for writing out the dracut kernel
cmdline commands for i18n support.
|
| |
|
|
|
|
|
|
|
| |
Add a dracutSetupString method to network.py, this can be used to
ask the Network class to get a dracut setup string to setup the interface
needed for a connection to a certain host.
This patch also adds code to booty to use this to get kernel cmdline dracut
setup commands for any NIC's needed to connect to devices needed for /
|
| |
|
|
|
| |
system-config-keyboard has the keyboard bits now, so let's use
those rather than the ones from rhpl
|
| |
|
|
| |
Honor the --gecos argument to the user command in kickstart files.
|
| |
|
|
|
| |
This is executed before users are created, so new users may be added to
the new groups immediately.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
- Change minsize/maxsize to minSize/maxSize since that's the
convention elsewhere throughout the code.
- Redirect output from all external utilities to tty5, not
/dev/null.
- Don't waste calls to basename for debug log statements,
especially when the device can be None.
- Add lots of missing imports.
- Fix lots of remnants of previous code usage.
|
| | |
|
| | |
|
| |
|
|
| |
Fix various syntax errors caught by PyChecker
|
| |
|
|
|
|
| |
Let network.bringUp() work by calling network.write() with no
parameters. bringUp() is used to bring up networking during
installation.
|
| |
|
|
|
| |
Tell NetworkManager not to touch anaconda configured interfaces when / is
on a network based device.
|
| | |
|
| |
|
|
| |
Replace tabs with space-only indentation.
|
| |
|
|
|
|
|
|
|
|
| |
This mostly affects preupgrade, where the repo (and therefore what's passed
in as the methodstr) can be a UUID for a logical volume. At this point,
lvm is not activated so looking up the device matching the UUID will of course
fail. That's not really an error on the upgrade case since we won't be
formatting any partitions. On the installation case, this is an error. And
keeping it an error here means we continue not allowing HDISO installs from
an LV or RAID volume.
|
| | |
|