summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/provider/package/dnf/dnf_helper.py1
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 0859348212..4ec343efac 100644
--- a/lib/chef/provider/package/dnf/dnf_helper.py
+++ b/lib/chef/provider/package/dnf/dnf_helper.py
@@ -17,6 +17,7 @@ def get_sack():
conf = base.conf
conf.read()
conf.installroot = '/'
+ conf.assumeyes = True
subst = conf.substitutions
subst.update_from_etc(conf.installroot)
try: