You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/rhel-custom-image.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Cloud providers which are listed below, support using rhel as an operating syste
13
13
For amazon web service cloud provider, First of all the RHEL gold image AMIs have to be enabled from the
14
14
[RedHat Customer Portal](https://access.redhat.com/public-cloud/aws) (this requires a [cloud-provider subscription](https://access.redhat.com/public-cloud)).
15
15
.Afterwards, new images will be added to the aws account under EC2-> Images-> AMIs-> Private Images. Once the images are available in the aws account,
16
-
the image id for rhel(at the moment we only support 8.x.x versions) should be then added to the `MachineDeployment` spec to the field `ami`.
16
+
the image id for rhel(supported versions are mentioned [here](https://github.com/kubermatic/machine-controller/blob/master/docs/operating-system.md)) should be then added to the `MachineDeployment` spec to the field `ami`.
17
17
18
18
#### Azure
19
19
RedHat provides images for Azure, [documentation](https://access.redhat.com/articles/uploading-rhel-image-to-azure) is available on RH customer portal.
@@ -47,9 +47,8 @@ image to vSphere, follow these steps to create instances from a cloned machine:
47
47
48
48
- Download Red Hat Enterprise Linux 8.x KVM Guest Image from Red Hat Customer Portal.
49
49
- The image has the format `qcow2` thus should be converted to `vmdk` by running the command: `qemu-img convert -f qcow2 rhel.qcow2 -O vmdk newRHEL.vmdk`
50
-
- Run `vmkfstools -i myImage.vmdk outputName.vmdk -d thin To ensure that the` to ensure that, the `vmdk` is ESXi compatible.
51
50
- Upload the image to vSphere Datastore. Preferably use [`govc`](https://github.com/vmware/govmomi/blob/master/govc/USAGE.md#datastoreupload)
52
-
- Once the image is uploaded create a new instance using that image. During the machine creation process, at the `Customize Hardware`
53
-
step, press on ADD NEW DEVICE and select Existing Hard Disk.
51
+
- Once the image is uploaded to ESXi host, run `vmkfstools -i newRHEL.vmdk outputRHEL.vmdk -d thin`to ensure that, the `vmdk` image is ESXi compatible.
52
+
- Create a new instance using that image. During the machine creation process, at the `Customize Hardware`step, press on ADD NEW DEVICE and select Existing Hard Disk.
54
53
- In the Existing Hard Disk wizard select the rhel image file and then create the instance.
55
54
- Use the instance name to clone rhel machine by updating the `MachineDeployment` field `.spec.template.spec.providerSpec.value.cloudProviderSpec.templateVMName`.
0 commit comments