PATCH: mkinitrd - ask dhclient for root-path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jesse Keating pointed out I should have used a comma instead of space. The attached patch allows mkinitrd after Hans' 5 patch series to netboot again.

Warren Togami
wtogami@xxxxxxxxxx
diff -urN mkinitrd-6.0.75.orig/nash/network.c mkinitrd-6.0.75/nash/network.c
--- mkinitrd-6.0.75.orig/nash/network.c	2009-02-02 16:13:36.000000000 -0500
+++ mkinitrd-6.0.75/nash/network.c	2009-02-02 17:07:14.000000000 -0500
@@ -460,7 +460,9 @@
             if (setpgrp() == -1)
                 exit(3);
 
-            if (execl(DHCLIENT, DHCLIENT, "-1", "-sf", "/dev/null", dev, NULL) == -1)
+            eprintf("dev=%s\n",dev);
+            if (execl(DHCLIENT, DHCLIENT, "-1", "-sf", "/dev/null", dev, 
+                "-R", "subnet-mask,broadcast-address,time-offset,routers,domain-name,domain-name-servers,host-name,nis-domain,nis-servers,ntp-servers,root-path", NULL) == -1)
                 exit(3);
         } else if (pid == -1) {
             eprintf("Failed to fork to start dhclient: %m\n");
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux