Skip to content

Commit

Permalink
test: wip
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Wendel <[email protected]>
  • Loading branch information
KwadFan committed Aug 5, 2024
1 parent 6d427f8 commit 20917ee
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/modules/debug/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,33 @@ echo_red "--------------------------------------------------------"
systemctl status systemd-resolved


echo_red "--------------------------------------------------------"

ping -c 2 google.de || true

echo_red "DEBUG: --------------------------------------------------"

echo_green "Try to fix --------------------------------------------"

cat <<- EOF > /etc/systemd/resolved.conf.d/chroot.conf
[Resolve]
DNS=manual
ResolvConf=/etc/resolv.conf
EOF

systemctl start systemd-resolved

echo_green "Try to fix --------------------------------------------"

echo_red "DEBUG: -------------------------------------------------"
cd /
ls -al /run/systemd/resolve/stub-resolv.conf || true

echo_red "--------------------------------------------------------"

systemctl status systemd-resolved


echo_red "--------------------------------------------------------"

ping -c 2 google.de || true
Expand Down

0 comments on commit 20917ee

Please sign in to comment.