summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-06-18 16:48:37 +0000
committerBill Nottingham <notting@redhat.com>2002-06-18 16:48:37 +0000
commiteb9ea85f61b1bd73657ea6ce098f4c1188b6fa52 (patch)
treefc9f2693718258298e753631687aa899dfe401bc
parent5fc42d79739d7454ffac35da8596aa9f240e13b7 (diff)
downloadanaconda-r0-9-2.tar.gz
anaconda-r0-9-2.tar.xz
anaconda-r0-9-2.zip
add patch for #21088 (<sopwith@redhat.com>)r0-9-2
-rw-r--r--loader/net.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/loader/net.c b/loader/net.c
index e9d7bbde6..48fe6fce5 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -790,6 +790,7 @@ int kickstartNetwork(char ** devicePtr, struct networkDeviceConfig * netDev,
int main(int argc, const char **argv) {
int netSet, rc;
int x;
+ int noDns = 0;
char * bootProto = NULL;
char * device = NULL;
char * hostname = NULL;
@@ -821,6 +822,9 @@ int main(int argc, const char **argv) {
{ "device", 'd', POPT_ARG_STRING, &device, 0,
_("Network device"), NULL
},
+ { "nodns", '\0', POPT_ARG_NONE, &noDns, 0,
+ _("No DNS lookups"), NULL
+ },
{ 0, 0, 0, 0, 0 }
};