diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-04-07 22:42:55 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-04-13 10:31:20 -0700 |
commit | 3b88d3d9ca5193242b66eb23a9cb857a13bf8535 (patch) | |
tree | 66ae3c4cc8f3a2b5686bb7c35715eb60bd9e66a1 | |
parent | 361aa8c56230f01deff9ae02b31caea048e9d0cd (diff) | |
download | meta-security-3b88d3d9ca5193242b66eb23a9cb857a13bf8535.tar.gz |
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.py | 2 |
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): | |||
19 | f.write(os.linesep) | 19 | f.write(os.linesep) |
20 | f.write("nameserver 8.8.4.4") | 20 | f.write("nameserver 8.8.4.4") |
21 | f.write(os.linesep) | 21 | f.write(os.linesep) |
22 | f.write("nameserver 127.0.0.1") | ||
23 | f.write(os.linesep) | ||
22 | 24 | ||
23 | @classmethod | 25 | @classmethod |
24 | def tearDownClass(cls): | 26 | def tearDownClass(cls): |