-
-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: debug dns resolve on armbian based images
Signed-off-by: Stephan Wendel <[email protected]>
- Loading branch information
Showing
4 changed files
with
40 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Intentionally left blank |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env bash | ||
|
||
## Source error handling, leave this in place | ||
set -Eex | ||
|
||
## Set LC_ALL to prevent errors | ||
export LC_ALL=C | ||
|
||
# Set DEBIAN_FRONTEND to noninteractive | ||
if [[ "${DEBIAN_FRONTEND}" != "noninteractive" ]]; then | ||
export DEBIAN_FRONTEND=noninteractive | ||
fi | ||
|
||
## Source CustomPIOS common.sh | ||
# shellcheck disable=SC1091 | ||
source /common.sh | ||
install_cleanup_trap | ||
|
||
|
||
echo_red "DEBUG: -------------------------------------------------" | ||
cd / | ||
ls -al /run/systemd/resolve/stub-resolv.conf | ||
|
||
echo_red "--------------------------------------------------------" | ||
|
||
systemctl status systemd-resolved | ||
|
||
|
||
|
||
|
||
echo_red "DEBUG: --------------------------------------------------" |