Skip to content

Commit 30b9673

Browse files
authored
Merge pull request #415 from ComputeCanada/dnf_weak_deps
Disable weak deps install by dnf
2 parents 905f62c + 50f305e commit 30b9673

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

common/configuration/puppet.yaml.tftpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ runcmd:
5353
# Enable fastest mirror for distribution using dnf package manager
5454
dnf -y install dnf-plugins-core
5555
dnf config-manager --setopt=fastestmirror=True --save
56+
# Disable weak dependencies' installation (example: pipewire-pulseaudio is a weak dependency of ipa-dns-server)
57+
dnf config-manager --setopt=install_weak_deps=False --save
5658
# If the image has not openssh-server installed but sshd_config still exists
5759
# installing the new RPM will not overwrite the file and depending on the file
5860
# content it might catastrophic (some sshd_config are empty, some miss esential lines).

0 commit comments

Comments
 (0)