95nfs/nfs-lib.sh: add server-ip to nfs server search

master
Harald Hoyer 2012-04-04 13:25:38 +02:00
parent 46a1738161
commit 8a5456e872
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ nfsroot_from_dhcp() {
done
[ -n "$new_root_path" ] && nfsroot_to_var "$nfs:$new_root_path"
[ -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_root_path%%:*}