Commit 3eb6a002 authored by Tails developers's avatar Tails developers
Browse files

Fix 'unsable to resolve host amnesia' error.

parent c713be4f
......@@ -72,6 +72,9 @@ show_start_notification () {
}
configure_chroot () {
# Prevent sudo from complaining about failing to resolve the 'amnesia' host
echo "127.0.0.1 localhost amnesia" > ${CHROOT}/etc/hosts
# Set the chroot's DNS servers to those obtained through DHCP
rm -f ${CHROOT}/etc/resolv.conf
for NS in ${IP4_NAMESERVERS}; do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment