summaryrefslogtreecommitdiffstats
path: root/loader2/net.c
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-12-03 18:08:48 -0500
committerChris Lumens <clumens@redhat.com>2007-12-07 14:25:04 -0500
commit9ed8d8f3322c7e933d563a6a08f7abe797a7d8d0 (patch)
treea4c4138b7e636e58eb1b7d50b64dfbfe2a1cfb84 /loader2/net.c
parent07cad14a852ddea455fc936be547777e42e087e6 (diff)
downloadanaconda-9ed8d8f3322c7e933d563a6a08f7abe797a7d8d0.tar.gz
anaconda-9ed8d8f3322c7e933d563a6a08f7abe797a7d8d0.tar.xz
anaconda-9ed8d8f3322c7e933d563a6a08f7abe797a7d8d0.zip
Merge the FTP and HTTP methods into a single URL method.
This removes the separate FTP and HTTP network method dialogs in the loader and replaces them with a single configuration dialog that asks the user to input a URL. It also modified the secondary config screen to prompt just for a proxy and simplifies a lot of the conversion from URL to UI and back.
Diffstat (limited to 'loader2/net.c')
-rw-r--r--loader2/net.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/loader2/net.c b/loader2/net.c
index 0f806e860..2cb94ddaa 100644
--- a/loader2/net.c
+++ b/loader2/net.c
@@ -56,11 +56,8 @@
extern uint64_t flags;
char *netServerPrompt = \
- N_("Please enter the following information:\n"
- "\n"
- " o the name or IP number of your %s server\n"
- " o the directory on that server containing\n"
- " %s for your architecture\n");
+ N_("Please enter the URL containing %s on your\n"
+ "server.\n");
/**
* Callback function for the CIDR entry boxes on the manual TCP/IP
@@ -1713,8 +1710,7 @@ void setKickstartNetwork(struct loaderData_s * loaderData, int argc,
/* Make sure the network is always up if there's a network line in the
* kickstart file, as %post/%pre scripts might require that.
*/
- if (loaderData->method != METHOD_NFS && loaderData->method != METHOD_FTP &&
- loaderData->method != METHOD_HTTP) {
+ if (loaderData->method != METHOD_NFS && loaderData->method != METHOD_URL) {
initLoopback();
if (kickstartNetworkUp(loaderData, &cfg))
logMessage(ERROR, "unable to bring up network");