diff --git a/tests/image-minimizer/test_minimizer.py b/tests/image-minimizer/test_minimizer.py index 554efaa80..943883790 100644 --- a/tests/image-minimizer/test_minimizer.py +++ b/tests/image-minimizer/test_minimizer.py @@ -8,7 +8,7 @@ class MinimizerTestCase(unittest.TestCase): def test_minimizer_ok(self): with tempfile.TemporaryDirectory(prefix="minimize.test.") as rootdir: - check_call(["dnf", "--use-host-config", "--installroot", rootdir, "install", "-y", \ + check_call(["dnf", "--releasever=/", "--installroot", rootdir, "install", "-y", \ "filesystem", "tzdata"]) im = ImageMinimizer("./tests/image-minimizer/im-script.txt", rootdir, False, False)