]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
new_dhcp_next_server is really new_next_server
authorBrian C. Lane <bcl@redhat.com>
Wed, 5 Feb 2014 20:10:39 +0000 (12:10 -0800)
committerHarald Hoyer <harald@redhat.com>
Fri, 7 Feb 2014 17:05:48 +0000 (18:05 +0100)
The variable that dhclient sets doesn't have dhcp in the name. This
could cause problems with setups where the server is not the same as the
dhcp server.

modules.d/95nfs/nfs-lib.sh

index f5fc56d71ef33100ef73e8df9f5ac9b1977592c0..9ced2e69f927e8fe83ffd18a4fe95f4cb479f8df 100755 (executable)
@@ -97,7 +97,7 @@ nfsroot_from_dhcp() {
     [ -z "$path" ] && [ "$(getarg root=)" == "/dev/nfs" ] && path=/tftpboot/%s
     [ -z "$server" ] && server=$srv
     [ -z "$server" ] && server=$new_dhcp_server_identifier
-    [ -z "$server" ] && server=$new_dhcp_next_server
+    [ -z "$server" ] && server=$new_next_server
     [ -z "$server" ] && server=${new_root_path%%:*}
 }