Skip to content

Commit 040e5a0

Browse files
codyrobennyvasquez
andauthored
Slight changes to snippets on releases to be more copy-pastable (#621)
* Slight changes to snippets on releases to be more copy-pastable - Use `uname -m` over hard-coding x86_64 - Replace use of `rpm` macro eval with same `uname -m` for consistency --------- Co-authored-by: benny Vasquez <[email protected]>
1 parent 382f391 commit 040e5a0

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/release-notes/10.0.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -110,18 +110,18 @@ For a complete list of hardware support for which was added in this release, see
110110

111111
## Installation instructions
112112

113-
There are three installation ISO images available:
113+
There are three installation ISO images available (where $arch is meant to indicate the architecture you are looking for):
114114

115-
`AlmaLinux-10.0-x86_64-boot.iso` - a single network installation CD image that downloads packages over the Internet.
115+
`AlmaLinux-10.0-$arch-boot.iso` - a single network installation CD image that downloads packages over the Internet.
116116

117-
`AlmaLinux-10.0-x86_64-minimal.iso` - a minimal self-containing DVD image that makes possible offline installation.
117+
`AlmaLinux-10.0-$arch-minimal.iso` - a minimal self-containing DVD image that makes possible offline installation.
118118

119-
`AlmaLinux-10.0-x86_64-dvd.iso` - a full installation DVD image that contains mostly all AlmaLinux packages.
119+
`AlmaLinux-10.0-$arch-dvd.iso` - a full installation DVD image that contains mostly all AlmaLinux packages.
120120

121121
Download a suitable ISO image from the 10.0/isos/$arch/ directory, for example:
122122

123123
```bash
124-
$ wget https://repo.almalinux.org/almalinux/10.0/isos/x86_64/AlmaLinux-10.0-x86_64-boot.iso
124+
$ wget https://repo.almalinux.org/almalinux/10.0/isos/$(uname -m)/AlmaLinux-10.0-$(uname -m)-boot.iso
125125
```
126126

127127
Download and import the AlmaLinux public key:
@@ -134,7 +134,7 @@ $ gpg --import RPM-GPG-KEY-AlmaLinux-10
134134
Download and verify a checksums list:
135135

136136
```bash
137-
$ wget https://repo.almalinux.org/almalinux/10.0/isos/x86_64/CHECKSUM
137+
$ wget https://repo.almalinux.org/almalinux/10.0/isos/$(uname -m)/CHECKSUM
138138

139139
# we are looking for “Good signature”
140140
$ gpg --verify CHECKSUM
@@ -149,24 +149,24 @@ Verify the downloaded ISO image checksum:
149149

150150
```bash
151151
# calculate the downloaded ISO SHA256 checksum
152-
$ sha256sum AlmaLinux-10.0-x86_64-boot.iso
153-
a1549729bfb66a28e3546c953033c9928eae7280917bb1c490983dba3bb9941c AlmaLinux-10.0-x86_64-boot.iso
152+
$ sha256sum AlmaLinux-10.0-$(uname -m)-boot.iso
153+
a1549729bfb66a28e3546c953033c9928eae7280917bb1c490983dba3bb9941c AlmaLinux-10.0-x86_64-boot.iso # x86_64 checksum, yours may differ
154154

155155
# compare it with expected checksum, it should be the same
156-
$ cat CHECKSUM | grep -E 'SHA256.*AlmaLinux-10.0-x86_64-boot.iso'
157-
SHA256 (AlmaLinux-10.0-x86_64-boot.iso) = a1549729bfb66a28e3546c953033c9928eae7280917bb1c490983dba3bb9941c
156+
$ cat CHECKSUM | grep -E "SHA256.*AlmaLinux-10.0-$(uname -m)-boot.iso" || echo "Warning: Checksum does not match"
157+
SHA256 (AlmaLinux-10.0-x86_64-boot.iso) = a1549729bfb66a28e3546c953033c9928eae7280917bb1c490983dba3bb9941c # x86_64 checksum, yours may differ
158158
```
159159

160-
If you decide to use the `AlmaLinux-10.0-x86_64-boot.iso` image, you may need to provide the `10.0/BaseOS/x86_64/kickstart/` URL repository from the selected mirror as the Installation Source in the event that the installer is not able to find the closest mirror for some reason.
160+
If you decide to use the `AlmaLinux-10.0-x86_64-boot.iso` image, you may need to provide the `10.0/BaseOS/x86_64/kickstart/` URL repository from the selected mirror as the *Installation Source* in the event that the installer is not able to find the closest mirror for some reason.
161161

162-
There are no extra Installation Sources required if you decided to go with either the minimal or DVD ISO images.
162+
There are no extra *Installation Sources* required if you decided to go with either the minimal or DVD ISO images.
163163

164164
## 10.0 Beta Testers
165165

166166
To update your AlmaLinux 0S 10.0 beta to 10.0 stable run:
167167

168168
```bash
169-
$ dnf install https://repo.almalinux.org/almalinux/almalinux-{release,repos,gpg-keys}-latest-10.$(rpm -q --qf=%{ARCH} almalinux-release).rpm
169+
$ dnf install https://repo.almalinux.org/almalinux/almalinux-{release,repos,gpg-keys}-latest-10.$(uname -m).rpm
170170
$ dnf upgrade -y
171171
```
172172

@@ -401,4 +401,4 @@ The following devices support is added in AlmaLinux OS 10 release compared with
401401

402402
##### Trademarks
403403

404-
Red Hat and RHEL are trademarks or registered trademarks of Red Hat, Inc. or its subsidiaries in the United States and other countries.
404+
Red Hat and RHEL are trademarks or registered trademarks of Red Hat, Inc. or its subsidiaries in the United States and other countries.

0 commit comments

Comments
 (0)