summaryrefslogtreecommitdiffstats
path: root/installmethod.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-12-14 14:26:28 -0500
committerChris Lumens <clumens@redhat.com>2007-12-14 14:26:28 -0500
commit43ed5befdb815f307a752a780cbf266c7e43696f (patch)
tree96f34b875928dd46f4d512600b5069aa41e60287 /installmethod.py
parentf87faeea0eae49d86b83308cc34cebdd3709db9d (diff)
downloadanaconda-43ed5befdb815f307a752a780cbf266c7e43696f.tar.gz
anaconda-43ed5befdb815f307a752a780cbf266c7e43696f.tar.xz
anaconda-43ed5befdb815f307a752a780cbf266c7e43696f.zip
Don't copy the stage2 image over for NFS installs.
Diffstat (limited to 'installmethod.py')
-rw-r--r--installmethod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/installmethod.py b/installmethod.py
index d1cf8bdc8..a6cbfe999 100644
--- a/installmethod.py
+++ b/installmethod.py
@@ -32,7 +32,7 @@ def doMethodComplete(anaconda):
except Exception, e:
log.debug("Error copying media.repo: %s" %(e,))
- if anaconda.backend.ayum._loopbackFile:
+ if anaconda.backend.ayum._loopbackFile and (anaconda.mediaDevice or anaconda.backend.ayum.isodir):
try:
os.unlink(anaconda.backend.ayum._loopbackFile)
except SystemError: