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>
This commit is contained in:
Armin Kuster
2019-04-07 22:42:55 -07:00
parent 361aa8c562
commit 3b88d3d9ca

View File

@@ -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):