| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ |
|
| |
| |
| |
| |
| | |
We need to prepend the installclass path to the pythonpath like we do the
rest of our module paths
|
|/
|
|
| |
Also, remove ARC support while we're here - it's pointless.
|
|
|
|
|
|
| |
Updated all *.py files to have a uniform GPL boilerplate. Expanded copyright
year ranges and listed authors (if they were in the comment section) under
the Red Hat Author(s) section.
|
| |
|
| |
|
|
|
|
|
|
| |
Don't use /mnt/source2 anymore. /mnt/isodir is for image installs to mount
whatever contains the images, and /mnt/source is always the source mount
point. Also don't use methodstr where we don't have to.
|
|
|
|
|
|
| |
Remove method references from the Anaconda object, along with various support
functions that import methods and return instances of methods. This also
removes method instances from the backend.
|
|
|
|
|
|
| |
This commit removes the base InstallMethod class without removing the users
in other files, so obviously this commit cannot stand alone. installmethod.py
and image.py at the very least still need significant changes.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
instead of creating a new one.
|
|
|
|
| |
opposite operation from ignoredisk --drives (#198526).
|
|
|
|
|
|
| |
* installclass.py (BaseInstallClass.setSteps): Permanently skip
task selection and group selection if our backend doesn't support
package selection (#242083)
|
|
|
|
|
|
|
|
|
|
|
|
| |
when getDiscNums fails
* installclass.py (BaseInstallClass.getPackagePaths): make the return
dict's values always be lists of URIs
* yuminstall.py (AnacondaYum.doConfigSetup): make conf.reposdir a list
like in yum
* scripts/mk-images: make sure the MBD_FSIMAGE dir doesn't pre-exist
|
|
|
|
|
|
|
|
|
| |
* livecd.py (LiveCDImageMethod.postAction): Unmount filesystems
in the live case before continuing on.
* installclass.py (BaseInstallClass.postAction): Call the method
postAction
* installmethod.py (InstallMethod.postAction): Add a method to be
called in post action for unmounting things in the live case
|
|
|
|
|
| |
* anaconda (getInstClass): Don't duplicate code (Elliot Peele)
* installclass.py (getBaseInstallClass): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* backend.py (AnacondaBackend.initLog): Don't open the install log
twice (Elliot Peele)
* installclass.py (availableClasses): Log a warning when there's
an error loading an installclass; raise it in debug mode (Elliot Peele)
* exception.py: rpm import not used (Elliot Peele)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
protected partitions (#220331)
* autopart.py (doClearPartAction): clear all non-protected partitions
from disks that contain a protected partition IFF initAll is set
* partedUtils.py (hasProtectedPartitions): new method to check if a
drive contains protected partitions
* packages.py (writeRegKey): method to write out regkey
* dispatch.py: add writeregkey step
* installclass.py (BaseInstallClass): add regkey fields and step
* instdata.py: include regkey settings in anaconda-ks.cfg
* packages.py (regKeyScreen): allow access to regkey screen while
moving backwards (#219361)
* installclasses/rhel.py: add support for real regkeys (via instnum)
|
| |
|
| |
|
|
|
|
| |
kickstart file).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* syslogd.py (InstSyslog.start): Ensure that we have a syslogd or
don't try to start. Otherwise, we end up hanging things
* yuminstall.py (YumBackend.__init__): yum installs can do package
selection
* livecd.py: Add live CD image copy backend and install method.
* installclasses/fedora.py: Handle installclass API changes; allow
livecd method
* installclass.py (BaseInstallClass.setSteps): Take anaconda
instead of dispatch as an argument; use so that the backend
upgrade allowing + package selection can work
(BaseInstallClass.setDefaultPartitioning): Make it easier to
default to no-LVM
* kickstart.py (Kickstart.setSteps): Tweak for calling change
* upgradeclass.py (InstallClass.setSteps): Likewise.
* installclasses/rhel.py (InstallClass.setSteps): Likewise.
* anaconda: Pass anaconda to instClass.setSteps; don't depend on
the existence of /mnt/runtime/... with x_already_set
* backend.py (AnacondaBackend.__init__): Let the backend define
whether or not upgrades are supported
(AnacondaBackend.doPreInstall): postInstall kills the log, start
it in the pre
(AnacondaBackend.initLog): Ensure the dir we want to use exists
(writeConfiguration): Write instdata before backend bits
|
|
|
|
|
|
|
|
|
|
|
|
| |
* installclasses/fedora.py: Implement getMethod/getBackend
* installclasses/rhel.py: Likewise.
* anaconda (Anaconda.setMethod): Use installclass to determine method
(Anaconda.setBackend): And backend
* installclass.py (BaseInstallClass.getMethod): Add a method to
parse the method str and return an InstallMethod constructor
(BaseInstallClass.getBackend): For backend as well
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fsset.py (readFstab): Take reference to anaconda object rather than
a path and intf. Pass anaconda reference to DiskSet().
* fssey.py (__main__): Removed.
* installclass.py (BaseInstallClass): Pass anaconda reference to the
reset() method for InstallData.
* instdata.py (InstallData.reset): Take anaconda object reference as
parameter. Pass anaconda to DiskSet().
* instdata.py (InstallData.__init__): Take anaconda object ref as
parameter, pass it to reset() method.
* kickstart.py (AnacondaKSHandlers): Store anaconda object reference,
pass to DiskSet() object creations.
* partedUtils.py (DiskSet): Take anaconda object reference, store. Use
self.anaconda throughout DiskSet object, remove individual pass-ins
of intf and other anaconda object parts.
* partedUtils.py (DiskSet.dastFmt): Remove -P dasdfmt(8) arg (#218861).
* partedUtils.py (DiskSet.openDevices): Remove intf, initAll, zeroMbr,
and clearDevs params since those are in the anaconda object. When a
kickstart install is running, the dasd found is in the clearpart list,
and the --initlabel option has been used, skip the interactive dialog
asking if you want to format the DASD and just do it (#218861).
* partitioning.py (partitionObjectsInitialize): Removed arguments since
the anaconda object provides those now.
* upgrade.py (mountRootPartition): Pass anaconda object ref to DiskSet.
Only pass anaconda ref to readFstab().
* upgrade.py (upgradeMountFilesystems): Likewise.
|
| |
|
|
|
|
|
|
|
| |
* installclass.py: Remove old zfcp stuff
* textw/zfcp_text.py: Remove.
* iw/zfcp_text.py: Remove.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* partitioning.py (partitionObjectsInitialize): Shutdown/startup
zfcp devs here
* yuminstall.py (YumBackend.doPreInstall): Remove spurious
zfcp.conf copy
* zfcp.py: Massive reworking to work better with new UI
* ui/zfcp-config.glade: ZFCP config dialog
* iw/autopart_type.py: Use zfcp config dialog (#204145)
* installclass.py (BaseInstallClass.setSteps): Remove explicit
zfcp step
* dispatch.py (installSteps): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* iw/task_gui.py: Rework so that we can enable/disable optional
repos per install class as well as see what repos have been added
* ui/tasksel.glade: Change things up a little bit
* installclasses/fedora.py: Tweak description, add Extras as an
additional repo
* yuminstall.py (AnacondaYum.doConfigSetup): Allow for additional,
not enabled by default repos to be set up.
* installclass.py (repos): Add not-default repos
|
|
|
|
|
|
|
|
|
| |
* installclass.py (getBaseInstallClass): Add a method for finding
the default base install class so that I don't copy and paste the
code between kickstart and upgrade cases
* kickstart.py (Kickstart): Use getBaseInstallClass
* upgradeclass.py (InstallClass): Use proper base install
class (#201745)
|
|
|
|
|
|
|
| |
* packages.py (regKeyScreen): Use per-installclass description.
* installclass.py: Allow description for reg key to be
per-installclass.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* yuminstall.py (AnacondaYum.doConfigSetup): Allow having more
than one default repo for the installclass
(YumBackend._catchallCategory): Fix catchall category
* packages.py (regKeyScreen): Add reg key screen.
* installclass.py (BaseInstallClass.getPackagePaths): Add method
to handle mapping with a URI to the repo paths we want to have
(BaseInstallClass.handleRegKey): Method for handling the reg key
and validating it
* installclasses/rhel.py: Add Red Hat Enterprise Linux
installclass. Have it enable the regkey step
* installclasses/rhel_as.py: Remove old RHEL class
* installclasses/rhel_desktop.py: Likewise.
* installclasses/rhel_es.py: Likewise.
* installclasses/rhel_ws.py: Likewise.
* gui.py (EntryWindow.__init__): Add intf.entryWindow taking
advantage of messageWindow stuff.
* text.py (InstallInterface.entryWindow): Likewise.
* dispatch.py (installSteps): Add regkey step.
|
| |
|
|
|
|
|
|
|
|
|
| |
configuring
* textw/iscsi_text.py: Likewise.
* dispatch.py (installSteps): Remove iscsi step.
* installclass.py: Likewise.
* gui.py: Likewise.
* text.py: Likewise.
|
|
|
|
|
| |
five new files from me to you
threads are here to stay
|
| |
|
| |
|
|
|
|
| |
stuff.
|
|
|
|
| |
happens in text kickstart installs using minstg2.img.
|
| |
|
|
|
|
| |
not really. It's just iutil.getArch() -> rhpl.getArch() updates.
|
|
|
|
| |
references to /proc/cmdline from everywhere else in favor of this dict.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* anaconda: Add handling of iscsi flag
* flags.py: Add iscsi flag
* installclass.py: Add iscsi step
* dispatch.py: Add iscsi step.
* gui.py: Add iscsi step.
* text.py: Add iscsi step
* instdata.py: Add iscsi object
* iscsi.py: Add main iscsi code
* iw/iscsi_gui.py: Add graphical iSCSI configuration
* ui/iscsi-config.glade: Glade-file for iSCSI config
* textw/iscsi_text.py: Add text mode iSCSI configuration
* scripts/mk-images (SCSIMODS): Add iscsi modules
* scripts/upd-instroot: Add iscsi tools
|