Merge "scripts: scripts-library.sh: Hide 'which' command output"
This commit is contained in:
commit
0f9c3d5bb7
@ -182,7 +182,7 @@ function get_repos_info {
|
||||
function get_instance_info {
|
||||
TS="$(date +"%H-%M-%S")"
|
||||
(cat /etc/resolv.conf && \
|
||||
which systemd-resolve && \
|
||||
which systemd-resolve &> /dev/null && \
|
||||
systemd-resolve --statistics && \
|
||||
cat /etc/systemd/resolved.conf) > \
|
||||
"/openstack/log/instance-info/host_dns_info_${TS}.log" || true
|
||||
|
Loading…
x
Reference in New Issue
Block a user