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.
> ---
> anaconda | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/anaconda b/anaconda
> index a0f2ff1..e1f0ce5 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
>
After thinking about this, I do believe you are right. Thanks for the
patch - applied and pushed.
- Chris
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|