diff --git a/modules/migration-installing-legacy-operator.adoc b/modules/migration-installing-legacy-operator.adoc index 29bccdbbd1b6..a0d614fa5f92 100644 --- a/modules/migration-installing-legacy-operator.adoc +++ b/modules/migration-installing-legacy-operator.adoc @@ -38,14 +38,14 @@ endif::[] + [source,terminal] ---- -$ sudo podman login registry.redhat.io +$ podman login registry.redhat.io ---- . Download the `operator.yml` file by entering the following command: + [source,terminal,subs="attributes+"] ---- -$ sudo podman cp $(sudo podman create \ +$ podman cp $(podman create \ registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-version}):/operator.yml ./ ---- @@ -53,7 +53,7 @@ $ sudo podman cp $(sudo podman create \ + [source,terminal,subs="attributes+"] ---- -$ sudo podman cp $(sudo podman create \ +$ podman cp $(podman create \ registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-version}):/controller.yml ./ ---- diff --git a/modules/migration-upgrading-mtc-with-legacy-operator.adoc b/modules/migration-upgrading-mtc-with-legacy-operator.adoc index 499bd46f7caf..25f4b7dda2c5 100644 --- a/modules/migration-upgrading-mtc-with-legacy-operator.adoc +++ b/modules/migration-upgrading-mtc-with-legacy-operator.adoc @@ -28,14 +28,14 @@ endif::[] + [source,terminal] ---- -$ sudo podman login registry.redhat.io +$ podman login registry.redhat.io ---- . Download the `operator.yml` file by entering the following command: + [source,terminal,subs="attributes+"] ---- -$ sudo podman cp $(sudo podman create \ +$ podman cp $(podman create \ registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-version}):/operator.yml ./ ---- @@ -71,7 +71,7 @@ $ oc -o yaml -n openshift-migration get deployment/migration-operator | grep ima + [source,terminal,subs="attributes+"] ---- -$ sudo podman cp $(sudo podman create \ +$ podman cp $(podman create \ registry.redhat.io/rhmtc/openshift-migration-legacy-rhel8-operator:v{mtc-version}):/controller.yml ./ ----