summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@chef.io>2020-02-25 09:44:08 -0800
committerGitHub <noreply@github.com>2020-02-25 09:44:08 -0800
commit401ec3292a83acff904ab46db88875053ddffb9a (patch)
tree75994dc8ed9006a1bd72c6c98961a39300f2c7d9
parent4a1814e08abb240a8f5ab029b793d80ae2613fda (diff)
parent756c0943a17afb1b05b03b58b8bc70aab2858aa5 (diff)
downloadchef-401ec3292a83acff904ab46db88875053ddffb9a.tar.gz
Merge pull request #9390 from chef/lcg/dnf-assumeyes
Add assumeyes to dnf helper
-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: