diff options
author | David Lehman <dlehman@redhat.com> | 2012-03-08 09:13:45 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2012-03-14 12:08:25 -0500 |
commit | c58aacde0c2d6c4fed3fbeabf17ed44dcdadc689 (patch) | |
tree | 43beecfada4a17eaa47aaa2d97e2e690864624d6 /pyanaconda/image.py | |
parent | 2afb63a3d2893bab9e18fd06f32300dc39a6dc2f (diff) | |
download | anaconda-c58aacde0c2d6c4fed3fbeabf17ed44dcdadc689.tar.gz anaconda-c58aacde0c2d6c4fed3fbeabf17ed44dcdadc689.tar.xz anaconda-c58aacde0c2d6c4fed3fbeabf17ed44dcdadc689.zip |
Allow changing the base repo.
To change the base repo, set it up in ksdata.method and then call
payload.updateBaseRepo. If you want errors in setting up the base
repo to raise an exception instead of falling back to the default
configuration found in /etc/yum.repos.d/, pass fallback=False.
Additional improvements to media/repo handling:
- Make setup and updateMethod (almost?) completely non-interactive.
- Clear out package and group lists when disabling or removing a repo.
- Use repo-specific mount directories for NFS addon repos.
- For NFS base repo, mount the NFS share on ISO_DIR in case it ends
up being nfsiso. If it doesn't, make a symlink at INSTALL_TREE that
points to ISO_DIR.
- Remove fallback-to-optical-media for addons since that makes no sense.
- Don't check for an NFS mirrorlist URL since that's not possible.
Diffstat (limited to 'pyanaconda/image.py')
-rw-r--r-- | pyanaconda/image.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pyanaconda/image.py b/pyanaconda/image.py index 7bfdb52b4..8c7597b03 100644 --- a/pyanaconda/image.py +++ b/pyanaconda/image.py @@ -153,8 +153,6 @@ def mountImageDirectory(method, storage): raise exn def mountImage(isodir, tree, messageWindow): - if os.path.ismount(tree): - raise SystemError, "trying to mount already-mounted iso image!" while True: image = findFirstIsoImage(isodir, messageWindow) if image is None: |