diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2021-04-30 17:02:12 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2021-04-30 17:02:12 -0700 |
commit | 376c2fbc8e4f084dc1cf3cfb30d5c34b6148a534 (patch) | |
tree | 54f5dcbc91315fe437737ea35e74b12c8926c572 | |
parent | d7daea30ea4d16bc4a5ed41c5832263b8ecc968c (diff) | |
download | chef-lcg/dnf-fix-blocking-and-flushing.tar.gz |
Cacheonlylcg/dnf-fix-blocking-and-flushing
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/provider/package/dnf/dnf_helper.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/provider/package/dnf/dnf_helper.py b/lib/chef/provider/package/dnf/dnf_helper.py index 7b47872bce..dcd1b8fcae 100644 --- a/lib/chef/provider/package/dnf/dnf_helper.py +++ b/lib/chef/provider/package/dnf/dnf_helper.py @@ -19,6 +19,7 @@ def get_sack(): conf.read() conf.installroot = '/' conf.assumeyes = True + conf.cacheonly = True subst = conf.substitutions subst.update_from_etc(conf.installroot) try: |