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

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



Ack.

On 05/27/2010 03:44 PM, Radek Vykydal wrote:
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;


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