diff options
author | Matt Wilson <msw@redhat.com> | 1999-11-23 20:55:31 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-11-23 20:55:31 +0000 |
commit | ef0f7bdc539a0c7aad15c5400ed3f06d584d447b (patch) | |
tree | 99d94607fb5f2aacf79d7474fd41ff3c8cd6f2ae | |
parent | 8c3b5b8efb774b62cad8df74122bba6331a6286e (diff) | |
download | anaconda-ef0f7bdc539a0c7aad15c5400ed3f06d584d447b.tar.gz anaconda-ef0f7bdc539a0c7aad15c5400ed3f06d584d447b.tar.xz anaconda-ef0f7bdc539a0c7aad15c5400ed3f06d584d447b.zip |
use dhcp next server instead of boot serveranaconda-6-1-1-merge-2
-rw-r--r-- | loader/loader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loader/loader.c b/loader/loader.c index c31ce37e4..8c9263add 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -1457,7 +1457,7 @@ int kickstartFromNfs(char * location, moduleList modLoaded, moduleDeps modDeps, writeNetInfo("/tmp/netinfo", &netDev); - if (!(netDev.dev.set & PUMP_INTFINFO_HAS_BOOTSERVER)) { + if (!(netDev.dev.set & PUMP_INTFINFO_HAS_NEXTSERVER)) { logMessage("no bootserver was found"); return 1; } @@ -1469,8 +1469,8 @@ int kickstartFromNfs(char * location, moduleList modLoaded, moduleDeps modDeps, file = netDev.dev.bootFile; } - ksPath = alloca(strlen(file) + strlen(netDev.dev.hostname) + 70); - strcpy(ksPath, inet_ntoa(netDev.dev.bootServer)); + ksPath = alloca(strlen(file) + 70); + strcpy(ksPath, inet_ntoa(netDev.dev.nextServer)); strcat(ksPath, ":"); strcat(ksPath, file); |