mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
dnf load substitutions from installroot (#51206)
Fixes #51059 Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
@@ -530,6 +530,9 @@ class DnfModule(YumDnf):
|
||||
# Set installroot
|
||||
conf.installroot = installroot
|
||||
|
||||
# Load substitutions from the filesystem
|
||||
conf.substitutions.update_from_etc(installroot)
|
||||
|
||||
# Handle different DNF versions immutable mutable datatypes and
|
||||
# dnf v1/v2/v3
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user