Skip to content

Commit 64aa61f

Browse files
committed
pkg/oc/cli/admin/release/extract_tools: Fix Linux openshift-install path
The installer Dockerfile has put the binary in /bin since openshift/install@29e4d10eb7 (images/installer: Rewrite tectonic-installer for openshift-install, 2018-09-26, openshift/installer#343). Fixes: $ oc adm release extract --command=openshift-install registry.svc.ci.openshift.org/openshift/origin-release:v4.0 error: image did not contain usr/bin/openshift-install
1 parent bedcd9e commit 64aa61f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/oc/cli/admin/release/extract_tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (o *ExtractOptions) extractCommand(command string) error {
8989
{
9090
OS: "linux",
9191
Command: "openshift-install",
92-
Mapping: extract.Mapping{Image: "installer", From: "usr/bin/openshift-install"},
92+
Mapping: extract.Mapping{Image: "installer", From: "bin/openshift-install"},
9393

9494
InjectReleaseImage: true,
9595
ArchiveFormat: "openshift-install-linux-%s.tar.gz",

0 commit comments

Comments
 (0)