Skip to content

Commit 50f305e

Browse files
committed
Disable weak deps install by dnf
Avoid running thing like pulseaudio on the ipa server.
1 parent 905f62c commit 50f305e

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)