diff --git a/sd/test/equip_test.sh b/sd/test/equip_test.sh index 0ffae05..b2ec921 100644 --- a/sd/test/equip_test.sh +++ b/sd/test/equip_test.sh @@ -275,7 +275,7 @@ ifconfig | sed "s/^/ /" >> ${LOG_FILE} ### configure DNS (google one) log "Do network configuration 2/2 (DNS)" -echo "nameserver 8.8.8.8" > /etc/resolv.conf +echo "nameserver $(get_config NAMESERVER)" > /etc/resolv.conf log "Done" ### configure time on a NTP server diff --git a/sd/test/yi-hack.cfg b/sd/test/yi-hack.cfg index 287bc79..d4bb3b1 100644 --- a/sd/test/yi-hack.cfg +++ b/sd/test/yi-hack.cfg @@ -6,6 +6,7 @@ ROOT_PASSWORD=1234qwer IP=192.168.1.121 NETMASK=255.255.255.0 GATEWAY=192.168.1.254 +NAMESERVER=192.168.1.254 ### Led color after full boot # The sequence will be :