From 1b2d29017722686bf4f9f0b7ddfe91c2f535cae7 Mon Sep 17 00:00:00 2001 From: maximenoel8 <55169628+maximenoel8@users.noreply.github.com> Date: Tue, 1 Oct 2024 11:19:24 +1300 Subject: [PATCH] dnf command not available on centos7 (#1709) --- backend_modules/libvirt/host/user_data.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend_modules/libvirt/host/user_data.yaml b/backend_modules/libvirt/host/user_data.yaml index a28b80b9f..2036a0b29 100644 --- a/backend_modules/libvirt/host/user_data.yaml +++ b/backend_modules/libvirt/host/user_data.yaml @@ -50,9 +50,9 @@ yum_repos: runcmd: %{ if install_salt_bundle } - - "dnf -y install venv-salt-minion avahi nss-mdns qemu-guest-agent" + - "yum -y install venv-salt-minion avahi nss-mdns qemu-guest-agent" %{ else } - - "dnf -y install salt-minion avahi nss-mdns qemu-guest-agent" + - "yum -y install salt-minion avahi nss-mdns qemu-guest-agent" %{ endif } %{ endif }