summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2009-01-28 14:39:12 -0500
committerChris Lumens <clumens@redhat.com>2009-01-29 12:57:05 -0500
commit26885a1972f47a42b0d1da50ff170fc9c8bb8d5a (patch)
treecad8e20b01d6bfff7b59e5ecff77b09054954ba6 /anaconda
parent6cdd2f804ecff94a670b798d09b7d5ed939a3a95 (diff)
downloadanaconda-26885a1972f47a42b0d1da50ff170fc9c8bb8d5a.tar.gz
anaconda-26885a1972f47a42b0d1da50ff170fc9c8bb8d5a.tar.xz
anaconda-26885a1972f47a42b0d1da50ff170fc9c8bb8d5a.zip
Fix cdrom install on machines with no network devices
On machines that automatically got stage2 from cdrom, requiresNetworkInstall was checking /mnt/source/Packages to see if the CD was available as an installation source. But it's mounted at /mnt/stage2 at this point, so check there instead.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda2
1 files changed, 1 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index a0f2ff16d..e1f0ce5e9 100755
--- a/anaconda
+++ b/anaconda
@@ -585,7 +585,7 @@ class Anaconda:
fail = True
elif self.stage2 is not None:
if self.stage2.startswith("cdrom://") and \
- not os.path.isdir("/mnt/source/Packages") and \
+ not os.path.isdir("/mnt/stage2/Packages") and \
numNetDevs == 0:
fail = True