mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Print debug info
This commit is contained in:
parent
a7559ce903
commit
65b89aac19
@ -171,7 +171,7 @@ configureNAT () {
|
||||
# Build DNS options from container /etc/resolv.conf
|
||||
|
||||
if [ "$DEBUG" = "Y" ]; then
|
||||
echo && echo "/etc/resolv.conf:" && echo && cat /etc/resolv.conf && echo
|
||||
echo "/etc/resolv.conf:" && echo && cat /etc/resolv.conf && echo
|
||||
fi
|
||||
|
||||
mapfile -t nameservers < <(grep '^nameserver' /etc/resolv.conf | sed 's/\t/ /g' | sed 's/nameserver //' | sed 's/ //g')
|
||||
|
Loading…
x
Reference in New Issue
Block a user