summaryrefslogtreecommitdiffstats
path: root/loader2/hdinstall.c
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-04-23 05:56:26 -0400
committerChris Lumens <clumens@redhat.com>2008-04-23 05:56:26 -0400
commitffe4f5de8a405e71ad5a4fe6bb768dbbf0617c5c (patch)
tree9edcb558d0cb20fd057869bfb143c56d162b756a /loader2/hdinstall.c
parentd3b364435cb8141707fd43c8d1041f14c7e878e3 (diff)
Change mount point for CD to /mnt/stage2 when looking for stage2 (#443755).
This only affects installations where you are booting the full DVD but (for some crazy reason) want to do an HD or NFS install. Otherwise we'll already have /mnt/source mounted for the CD and won't be able to mount the real installation media on top of it. The DVD will end up getting used even though that's not what you wanted.
Diffstat (limited to 'loader2/hdinstall.c')
-rw-r--r--loader2/hdinstall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader2/hdinstall.c b/loader2/hdinstall.c
index 3062290bf..14148ebde 100644
--- a/loader2/hdinstall.c
+++ b/loader2/hdinstall.c
@@ -73,7 +73,7 @@ static int loadHDImages(char * prefix, char * dir,
* passing stage2= overrides this check.
*/
if (!FL_STAGE2(flags))
- cdurl = findAnacondaCD(location, 0);
+ cdurl = findAnacondaCD("/mnt/stage2", 0);
if (cdurl) {
logMessage(INFO, "Detected stage 2 image on CD");