From e7d5c58415346f6c21b468f40c9adee74ae7d4cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= <radoslaw.piliszek@gmail.com>
Date: Fri, 20 Sep 2019 10:30:49 +0200
Subject: [PATCH] CI: collect more system configs (name resolution)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This patch adds configs relevant to name resolution.

Change-Id: I7ebc2409e9ec0bd875abf0bf4e452bc89efe940d
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
---
 tests/get_logs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/get_logs.sh b/tests/get_logs.sh
index f0cc7f5006..448d39ada9 100644
--- a/tests/get_logs.sh
+++ b/tests/get_logs.sh
@@ -10,7 +10,7 @@ copy_logs() {
     # Don't save the IPA images.
     rm ${LOG_DIR}/kolla_configs/config/ironic/ironic-agent.{kernel,initramfs}
     mkdir ${LOG_DIR}/system_configs/
-    cp -rL /etc/{docker,systemd} ${LOG_DIR}/system_configs/
+    cp -rL /etc/{hostname,hosts,resolv.conf,nsswitch.conf,docker,systemd} ${LOG_DIR}/system_configs/
     cp -rvnL /var/log/* ${LOG_DIR}/system_logs/