Skip to content

Commit

Permalink
Merge pull request #1788 from ggiguash/release-4.13
Browse files Browse the repository at this point in the history
[release-4.13] USHIFT-1241: Fix RHEL 9.2 DVD name following the operating system GA
  • Loading branch information
openshift-merge-robot authored May 11, 2023
2 parents 66c3d96 + 2c2950b commit 17cae44
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/devenv_cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Follow the instructions in the [Create Virtual Machine](./devenv_setup_auto.md#c
```bash
./scripts/devenv-builder/create-vm.sh microshift-bench \
/var/lib/libvirt/images \
/var/lib/libvirt/images/rhel-baseos-9.*-$(uname -i)-dvd.iso \
/var/lib/libvirt/images/rhel-9.2-$(uname -m)-dvd.iso \
2 2 10 0 1
```

Expand Down
2 changes: 1 addition & 1 deletion docs/devenv_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sudo dnf install -y libvirt virt-manager virt-install virt-viewer libvirt-client
Move the ISO image to `/var/lib/libvirt/images` directory and run the following commands to create a virtual machine.
```bash
VMNAME="microshift-dev"
ISONAME=rhel-baseos-9.1-$(uname -i)-boot.iso
ISONAME=rhel-9.2-$(uname -m)-boot.iso

sudo -b bash -c " \
cd /var/lib/libvirt/images/ && \
Expand Down
4 changes: 2 additions & 2 deletions docs/devenv_setup_auto.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ As an example, run the following command to create a virtual machine named `micr
> See the [Recommended system swap size](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_storage_devices/getting-started-with-swap_managing-storage-devices#recommended-system-swap-space_getting-started-with-swap) document for more information.
```bash
ISONAME=rhel-baseos-9.1-$(uname -i)-dvd.iso
ISONAME=rhel-9.2-$(uname -m)-dvd.iso

./scripts/devenv-builder/create-vm.sh microshift-dev \
/var/lib/libvirt/images \
Expand All @@ -100,7 +100,7 @@ ISONAME=rhel-baseos-9.1-$(uname -i)-dvd.iso
or

```bash
ISONAME=rhel-baseos-9.1-$(uname -i)-dvd.iso
ISONAME=rhel-9.2-$(uname -m)-dvd.iso

export VMNAME=microshift-dev
export VMDISKDIR=/var/lib/libvirt/images
Expand Down
8 changes: 4 additions & 4 deletions scripts/devenv-builder/manage-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ function get_base_isofile {

case $rhel_version in
8)
echo "rhel-8.7-x86_64-dvd.iso"
echo "rhel-8.7-$(uname -m)-dvd.iso"
;;
8.*)
echo "rhel-${rhel_version}-x86_64-dvd.iso"
echo "rhel-${rhel_version}-$(uname -m)-dvd.iso"
;;
9)
echo "rhel-baseos-9.1-x86_64-dvd.iso"
echo "rhel-9.2-$(uname -m)-dvd.iso"
;;
9.*)
echo "rhel-baseos-${rhel_version}-x86_64-dvd.iso"
echo "rhel-${rhel_version}-$(uname -m)-dvd.iso"
;;
*)
echo "unknown RHEL version $rhel_version" 1>&2
Expand Down

0 comments on commit 17cae44

Please sign in to comment.