Skip to content

Commit fbc077c

Browse files
authored
Merge pull request #54772 from fzdarsky/fix-osdocs-4826
OSDOCS-4826: Update getting version string
2 parents 5477021 + b4e4aac commit fbc077c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/microshift-adding-containers-to-blueprint.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You must have the exact list of container image references used by the {product-
3030
+
3131
[source,terminal]
3232
----
33-
$ VERSION=$(rpm -q --queryformat='%{VERSION}-%{RELEASE}.%{ARCH}' microshift)
33+
$ VERSION=$(sudo yum list | awk "/^microshift\./ {print \$2;}")
3434
----
3535
+
3636
[source,terminal]
@@ -42,7 +42,7 @@ $ yum download microshift-release-info-${VERSION}
4242
+
4343
[source,terminal]
4444
----
45-
$ rpm2cpio microshift-release-info-${VERSION}.rpm | cpio -idmv
45+
$ rpm2cpio microshift-release-info-${VERSION}.noarch.rpm | cpio -idmv
4646
./usr/share/microshift/release/release-aarch64.json
4747
./usr/share/microshift/release/release-x86_64.json
4848
----

0 commit comments

Comments
 (0)