diff --git a/samples/base-qcow2.json b/samples/base-qcow2.json index 312a97fb..efce05fa 100644 --- a/samples/base-qcow2.json +++ b/samples/base-qcow2.json @@ -24,7 +24,7 @@ "xen-libs", "langpacks-en" ], - "exclude-packages": [ + "exclude_packages": [ "dracut-config-rescue" ] } diff --git a/stages/org.osbuild.dnf b/stages/org.osbuild.dnf index 26283e9e..71e1f994 100755 --- a/stages/org.osbuild.dnf +++ b/stages/org.osbuild.dnf @@ -60,7 +60,7 @@ def main(tree, options): basearch = options["basearch"] operation = options.get("operation", "install") weak_deps = options.get("install_weak_deps", True) - exclude_packages = options.get("exclude-packages", []) + exclude_packages = options.get("exclude_packages", []) with open("/tmp/dnf.conf", "w") as conf: for repoid, repo in enumerate(repos): diff --git a/test/pipelines/f30-boot.json b/test/pipelines/f30-boot.json index 7ff426e5..5d05482b 100644 --- a/test/pipelines/f30-boot.json +++ b/test/pipelines/f30-boot.json @@ -51,7 +51,7 @@ "xen-libs", "langpacks-en" ], - "exclude-packages": [ + "exclude_packages": [ "dracut-config-rescue" ] }