Skip to content

Commit

Permalink
openshift: only inject prega catalog when not using disconnected
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Jan 23, 2025
1 parent 295c8cf commit 71a08eb
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 @@ -1260,7 +1260,7 @@ def create(config, plandir, cluster, overrides, dnsconfig=None):
if virtualization_nightly:
pprint("Adding custom catalog for OpenShift Virtualization Nightly")
copy2(f'{plandir}/99-openshift-virtualization-catalog.yaml', f"{clusterdir}/openshift")
if prega and not disconnected_vm:
if prega and not disconnected_vm and disconnected_url is None:
pprint("Adding custom catalog for Prega")
pregafile = config.process_inputfile(cluster, f'{plandir}/99-prega-catalog.yaml',
overrides={'version': version})
Expand Down

0 comments on commit 71a08eb

Please sign in to comment.