Skip to content

Commit 766eb99

Browse files
committed
PowerVS: Remove ClusterOSImage
Remove changing the image name for a MachineSet if ClusterOSImage is set Terraform has already created an image bucket based on OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE for us. So worker nodes should not use OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE directly and instead use the image bucket.
1 parent f6864b9 commit 766eb99

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/asset/machines/powervs/machinesets.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ func MachineSets(clusterID string, config *types.InstallConfig, pool *types.Mach
2626
mpool := pool.Platform.PowerVS
2727
var network string
2828
image := fmt.Sprintf("rhcos-%s", clusterID)
29-
if platform.ClusterOSImage != "" {
30-
image = platform.ClusterOSImage
31-
}
3229
if platform.PVSNetworkName != "" {
3330
network = platform.PVSNetworkName
3431
}

0 commit comments

Comments
 (0)