I'm PXE booting 17.10 live with Serva.
I also found that the booting image DNS is broken.
I traced the problem to Casper within the booting initrd.lz, the file
/script/casper-bottom/23networking
does not populate
/etc/systemd/resolved.conf
therefore the DNS daemon does not work.
I've added to 23networking
if [ -f /root/etc/systemd/resolved.conf ]; then
resolv=/root/etc/systemd/resolved.conf
cat > $resolv <<EOF
# resolv=/root/etc/systemd/resolved.conf
# Autogenerated by casper-Serva
EOF
echo "[Resolve]" >> $resolv
[ -n "$rc_server0" ] && [ "$rc_server0" != "0.0.0.0" ] && echo
"DNS=$rc_server0" >> $resolv
[ -n "$rc_server1" ] && [ "$rc_server1" != "0.0.0.0" ] && echo
"FallbackDNS=$rc_server1" >> $resolv
[ -n "$rc_server1" ] && [ "$rc_server1" = "0.0.0.0" ] && [
"$rc_server0" != "0.0.0.0" ] && echo "FallbackDNS=$rc_server0" >> $resolv
[ -n "$rc_domain" ] && echo "Domains=${rc_domain}" >> $resolv
echo "#LLMNR=yes" >> $resolv
echo "#MulticastDNS=yes" >> $resolv
echo "#DNSSEC=no" >> $resolv
echo "#Cache=yes" >> $resolv
echo "#DNSStubListener=udp" >> $resolv
fi
and now 17.10 live PXE boots correctly with a healthy DNS
Best,
Patrick
** Attachment added: "23networking"
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1725680/+attachment/5021036/+files/23networking
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1725680
Title:
DNS name resolution doesn't work on Artful
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1725680/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs