Skip to content

Commit

Permalink
Fix dns resolve path for Debian 12
Browse files Browse the repository at this point in the history
  • Loading branch information
ElstonLewis committed Sep 25, 2023
1 parent 4aeb9b8 commit 5a288e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/linux/dns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if [[ "$1" == "debian"* ]] || [[ "$1" == "ubuntu"* ]] || [[ "$1" == "arch" ]]; t
mkdir -p /run/resolvconf/
mkdir -p /run/systemd/resolve/
cp /etc/resolv.conf /run/resolvconf/resolv.conf
cp /etc/resolv.conf /run/systemd/resolve/resolv.conf
cp /etc/resolv.conf /run/systemd/resolve/stub-resolv.conf
chroot /mnt/ bash -c '[[ -f /etc/resolv.conf ]]'
else
Expand Down

0 comments on commit 5a288e2

Please sign in to comment.