diff --git a/_attributes/common-attributes.adoc b/_attributes/common-attributes.adoc index fc6b882afbb7..7e50e2159c89 100644 --- a/_attributes/common-attributes.adoc +++ b/_attributes/common-attributes.adoc @@ -80,6 +80,7 @@ endif::[] :mtc-full: Migration Toolkit for Containers :mtc-version: 1.8 :mtc-version-z: 1.8.4 +:mtc-legacy-image: 1.7 // builds (Valid only in 4.11 and later) :builds-v2title: Builds for Red Hat OpenShift :builds-v2shortname: OpenShift Builds v2 diff --git a/modules/migration-upgrading-mtc-with-legacy-operator.adoc b/modules/migration-upgrading-mtc-with-legacy-operator.adoc index 93a478dd62c4..4d505205603d 100644 --- a/modules/migration-upgrading-mtc-with-legacy-operator.adoc +++ b/modules/migration-upgrading-mtc-with-legacy-operator.adoc @@ -35,8 +35,7 @@ $ podman login registry.redhat.io + [source,terminal,subs="attributes+"] ---- -$ podman cp $(podman create \ - registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-version}):/operator.yml ./ +$ podman cp $(podman create registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-legacy-image}:/operator.yml ./ ---- . Replace the {mtc-full} Operator by entering the following command: @@ -71,8 +70,7 @@ $ oc -o yaml -n openshift-migration get deployment/migration-operator | grep ima + [source,terminal,subs="attributes+"] ---- -$ podman cp $(podman create \ - registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-version}):/controller.yml ./ +$ podman cp $(podman create registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-legacy-image}):/operator.yml ./ ---- . Create the `migration-controller` object by entering the following command: