Skip to content

Commit b4e4aac

Browse files
committed
Update getting version string
Signed-off-by: Frank A. Zdarsky <[email protected]>
1 parent 7f086b5 commit b4e4aac

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)