From 756c0943a17afb1b05b03b58b8bc70aab2858aa5 Mon Sep 17 00:00:00 2001
From: Lamont Granquist <lamont@scriptkiddie.org>
Date: Mon, 24 Feb 2020 18:16:47 -0800
Subject: Add assumeyes to dnf helper

I can't imagine we wouldn't run into needing this

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
---
 lib/chef/provider/package/dnf/dnf_helper.py | 1 +
 1 file changed, 1 insertion(+)

(limited to 'lib/chef')

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:
-- 
cgit v1.2.1