Set systemd-resolved mode 'stub'

This commit is contained in:
rockstable 2022-12-22 15:47:58 +01:00
parent 2339747731
commit 9a03296950
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/bin/bash
echo "Setting systemd-resolved mode 'stub'"
$ROOTCMD rm /etc/resolv.conf
$ROOTCMD ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf