Skip to content

Commit

Permalink
Merge pull request #47 from ElstonLewis/Add_Debian_12
Browse files Browse the repository at this point in the history
Fix dns resolve path for Debian 12
  • Loading branch information
ElstonLewis authored Sep 25, 2023
2 parents 4aeb9b8 + 5a288e2 commit aaea671
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 aaea671

Please sign in to comment.