diff --git a/xCAT-nbroot2/dhclient-script b/xCAT-nbroot2/dhclient-script index e947f474b..dc1977fd3 100755 --- a/xCAT-nbroot2/dhclient-script +++ b/xCAT-nbroot2/dhclient-script @@ -15,7 +15,7 @@ elif [ $reason = "BOUND" ]; then if [ ! -z "$new_domain_name" ]; then echo search $new_domain_name >> /etc/resolv.conf fi - for ns in $new_domain_servers; do + for ns in $new_domain_name_servers; do echo nameserver $ns >> /etc/resolv.conf done for ntp in $new_ntp_servers; do