Bug 51027 - RFE: enhance loader to use 'nextserver' and 'bootfile' fields from dhcp to get kickstart file with http
RFE: enhance loader to use 'nextserver' and 'bootfile' fields from dhcp to ge...
Status: CLOSED DEFERRED
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
9
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Brock Organ
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-08-06 14:23 EDT by bruno
Modified: 2008-01-17 12:49 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-21 13:48:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description bruno 2001-08-06 14:23:25 EDT
Description of problem:
to get the kickstart file with http, a user has to supply the entire URL.
loader should be enhanced to get the servername and filename from dhcp and
construct the URL with these values (like the NFS method).

How reproducible:
Always

Steps to Reproduce:
it's great that loader can now get the kickstart file with http, but it
requires that user input the URL on the syslinux.cfg command line. (the
code segment below shows that the function kickstartFromHttp() will return
if no kickstart file is supplied).

================================================
current kickstartFromHttp()
================================================
    if (ksSource) {
        ksPath = alloca(strlen(ksSource) + 1);
        strcpy(ksPath, ksSource);
    } else {
        logMessage("no location specified");
        return 1;
    }
================================================


it would be better if loader could build a URL from the dhcp response if no
URL is specified.

================================================
potential enhancement to kickstartFromHttp()
================================================
    if (ksSource) {
        ksPath = alloca(strlen(ksSource) + 1);
        strcpy(ksPath, ksSource);
    } else {
        /*
         * build the path to the kickstart file from the DHCP response
         */
        ksPath = alloca(strlen(file) +
                        strlen(inet_ntoa(netDev.dev.nextServer)) + 70);
        strcpy(ksPath, inet_ntoa(netDev.dev.nextServer));
        strcat(ksPath, file);
    }
=============================================
Comment 1 Michael Fulbright 2001-08-06 18:31:25 EDT
Sounds like a feature request to consider for future releases.
Comment 2 Michael Fulbright 2002-03-26 12:45:22 EST
Deferring to future release.
Comment 3 Red Hat Bugzilla 2006-02-21 13:48:04 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.