aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-04-07 22:42:55 -0700
committerArmin Kuster <akuster808@gmail.com>2019-04-13 10:31:20 -0700
commit3b88d3d9ca5193242b66eb23a9cb857a13bf8535 (patch)
tree66ae3c4cc8f3a2b5686bb7c35715eb60bd9e66a1
parent361aa8c56230f01deff9ae02b31caea048e9d0cd (diff)
downloadmeta-security-3b88d3d9ca5193242b66eb23a9cb857a13bf8535.tar.gz
meta-security-3b88d3d9ca5193242b66eb23a9cb857a13bf8535.tar.bz2
meta-security-3b88d3d9ca5193242b66eb23a9cb857a13bf8535.zip
clamav: runtime fix local routing
This addes the localhost to resolve.conf to fix: ERROR: Can't get information about database.clamav.net: Temporary failure in name resolution ERROR: Can't download main.cvd from database.clamav.net Giving up on database.clamav.net... Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--lib/oeqa/runtime/cases/clamav.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oeqa/runtime/cases/clamav.py b/lib/oeqa/runtime/cases/clamav.py
index 647861c..d0bc645 100644
--- a/lib/oeqa/runtime/cases/clamav.py
+++ b/lib/oeqa/runtime/cases/clamav.py
@@ -19,6 +19,8 @@ class ClamavTest(OERuntimeTestCase):
f.write(os.linesep)
f.write("nameserver 8.8.4.4")
f.write(os.linesep)
+ f.write("nameserver 127.0.0.1")
+ f.write(os.linesep)
@classmethod
def tearDownClass(cls):