Skip to content

Commit

Permalink
openshift: fix update_registry
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Jan 21, 2025
1 parent e71a9ec commit 3b56a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kvirt/cluster/openshift/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def update_registry(config, plandir, cluster, data):
os.mkdir(dockerdir)
copy2(pull_secret_path, f"{dockerdir}/config.json")
olmcmd = f"oc-mirror --v2 --workspace file://{clusterdir} --config {clusterdir}/mirror-config.yaml "
olmcmd += " docker://{disconnected_url}"
olmcmd += f" docker://{disconnected_url}"
pprint(f"Running {olmcmd}")
call(olmcmd, shell=True)
for catalogsource in glob(f"{clusterdir}/working-dir/cluster-resources/cs*"):
Expand Down

0 comments on commit 3b56a1d

Please sign in to comment.