Commit e0b56a35 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis
Browse files

snf-deploy: fix case of local binary package

ganeti-htools is a binary package that ends with amd64.deb
Thus we should not not search only for *all.deb
Signed-off-by: default avatarDimitris Aragiorgis <>
parent 065a030a
...@@ -92,7 +92,7 @@ def install_package(package): ...@@ -92,7 +92,7 @@ def install_package(package):
env.env.update_packages(host_info.os) env.env.update_packages(host_info.os)
if ast.literal_eval(env.env.use_local_packages): if ast.literal_eval(env.env.use_local_packages):
with settings(warn_only=True): with settings(warn_only=True):
deb = local("ls %s/%s*%s_all.deb" deb = local("ls %s/%s*%s_*.deb"
% (env.env.packages, package, host_info.os), % (env.env.packages, package, host_info.os),
capture=True) capture=True)
if deb: if deb:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment