summaryrefslogtreecommitdiffstats
path: root/loader/loader.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-03-27 16:39:01 +0000
committerMatt Wilson <msw@redhat.com>2001-03-27 16:39:01 +0000
commit433eb2afd9bb23f1d74e8f4ae29ffcabd981a987 (patch)
tree11f08129246770ed5b4d013e2c21fa09683ce163 /loader/loader.c
parentccd08f99954a21c7436c351aa58906b158589ee6 (diff)
downloadanaconda-433eb2afd9bb23f1d74e8f4ae29ffcabd981a987.tar.gz
anaconda-433eb2afd9bb23f1d74e8f4ae29ffcabd981a987.tar.xz
anaconda-433eb2afd9bb23f1d74e8f4ae29ffcabd981a987.zip
don't ask about which device to use if the user has used ks=nfs in the command line. FL_KICKSTART isn't set until _after_ we set up NFS for this ks.cfg source, so this has to be a special case
Diffstat (limited to 'loader/loader.c')
-rw-r--r--loader/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 8213b32a8..e8c704a00 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1103,7 +1103,7 @@ static int ensureNetDevice(struct knownDevices * kd,
or return LOADER_BACK, in which case we don't get here. */
if (!deviceNums) return LOADER_ERROR;
- if (deviceNums == 1 || FL_KICKSTART(flags)) {
+ if (deviceNums == 1 || FL_KICKSTART(flags) || FL_KSNFS(flags)) {
*devNamePtr = devices[0];
return 0;
}