*** USE THIS SOLUTION INSTEAD OF ABOVE ***
The link /etc/resolv.conf points to /run/systemd/resolve/stub-resolv.conf. But stub-resolv.conf does not exist.
Outside the chroot environment, do the following... $ sudo ln -sr /run/systemd/resolve/resolv.conf /run/systemd/resolve/stub-resolv.conf
To verify, inside the chroot environment, do the following... $ cat /etc/resolv.conf $ ping google.com
*** USE THIS SOLUTION INSTEAD OF ABOVE ***
The link /etc/resolv.conf points to /run/systemd/ resolve/ stub-resolv. conf.
But stub-resolv.conf does not exist.
Outside the chroot environment, do the following... resolve/ resolv. conf /run/systemd/ resolve/ stub-resolv. conf
$ sudo ln -sr /run/systemd/
To verify, inside the chroot environment, do the following...
$ cat /etc/resolv.conf
$ ping google.com