summaryrefslogtreecommitdiffstats
path: root/loader/urlinstall.c
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-10-14 17:54:32 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-10-14 17:58:40 -1000
commit2076b050e4425697c2701b25cb045ae499ca9e15 (patch)
tree829aab82e3d434887657d749dacc4d800155783a /loader/urlinstall.c
parent4ac488330723ba9a60d668a0b9948bbb93268dae (diff)
downloadanaconda-2076b050e4425697c2701b25cb045ae499ca9e15.tar.gz
anaconda-2076b050e4425697c2701b25cb045ae499ca9e15.tar.xz
anaconda-2076b050e4425697c2701b25cb045ae499ca9e15.zip
Make kickstart installs work again (#374271, #392021, #448096, #466340, #466304)
Kickstart installs should work again like they did at one point. If you do not specify IP configuration parameters on the boot: line, loader assumes DHCP (which is what we've done forever).
Diffstat (limited to 'loader/urlinstall.c')
-rw-r--r--loader/urlinstall.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/loader/urlinstall.c b/loader/urlinstall.c
index 78054879e..eaff127d1 100644
--- a/loader/urlinstall.c
+++ b/loader/urlinstall.c
@@ -301,11 +301,6 @@ int getFileFromUrl(char * url, char * dest,
memset(&ui, 0, sizeof(ui));
ui.protocol = proto;
- if ((ip = iface_ip2str(loaderData->netDev, AF_INET)) == NULL) {
- logMessage(ERROR, "getFileFromUrl: no client IP information");
- return 1;
- }
-
getHostPathandLogin((proto == URL_METHOD_FTP ? url + 6 : url + 7),
&host, &file, &login, &password, ip);