[PATCH rhel6-branch] Do not ask for interface twice in stage 1 (#594802)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Happens exactly in this case:
- *no* ks over network
- stage2 over network
- updates over network
Before fetching updates dialog to choose network device appears
even if network has been enabled before downloading stage 2.

The patch sets flag loaderData->netDev_set to true after sucessful
network enablement for stage 2 fetching.
---
 loader/loader.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 63594d8..8c6bb8b 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1507,6 +1507,8 @@ static char *doLoaderMain(struct loaderData_s *loaderData,
                 }
 
                 writeEnabledNetInfo(&iface);
+                /* Prevent asking about interface for updates.img */
+                loaderData->netDev_set = 1;
                 step = STEP_STAGE2;
                 dir = 1;
                 break;
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux