stages/dnf: exclude-packages → exclude_packages
This commit is contained in:
parent
72c3157162
commit
3e57f13380
3 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@
|
|||
"xen-libs",
|
||||
"langpacks-en"
|
||||
],
|
||||
"exclude-packages": [
|
||||
"exclude_packages": [
|
||||
"dracut-config-rescue"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
"xen-libs",
|
||||
"langpacks-en"
|
||||
],
|
||||
"exclude-packages": [
|
||||
"exclude_packages": [
|
||||
"dracut-config-rescue"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue