From ea930b3d453841491fdc4e1c2297169b90737e7a Mon Sep 17 00:00:00 2001 From: Eric Bischoff Date: Fri, 13 Oct 2023 15:12:45 +0200 Subject: [PATCH] Handle the requirement for the bundle in main.tf files --- backend_modules/libvirt/host/user_data.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend_modules/libvirt/host/user_data.yaml b/backend_modules/libvirt/host/user_data.yaml index c55b6a9f8..979f2c117 100644 --- a/backend_modules/libvirt/host/user_data.yaml +++ b/backend_modules/libvirt/host/user_data.yaml @@ -466,8 +466,11 @@ bootcmd: - DEBIAN_FRONTEND=noninteractive apt-get -yq update - DEBIAN_FRONTEND=noninteractive apt-get -yq install gnupg -# Debian 12 is bundle-only +%{ if install_salt_bundle } packages: ["venv-salt-minion", "avahi-daemon", "qemu-guest-agent", "gnupg"] +%{ else } +packages: ["salt-minion", "avahi-daemon", "qemu-guest-agent", "gnupg"] +%{ endif } %{ endif } %{ if image == "debian11o" } apt: