21.4. Preparing to upload customized RHEL images to Alibaba Cloud
To deploy a customized RHEL image to the Alibaba Cloud, first, you must verify the customized image. The image needs a specific configuration to boot successfully, because Alibaba Cloud requests the custom images to meet certain requirements before you use them.
RHEL image builder generates images that conform to the requirements of Alibaba. However, you must use the Alibaba image_check tool to verify the format compliance of your image.
Prerequisites
- You must have created an Alibaba image by using RHEL image builder.
Procedure
-
Connect to the system containing the image that you want to check by using the Alibaba
image_checktool. Download the
image_checktool:$ curl -O https://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/attach/73848/cn_zh/1557459863884/image_checkChange the file permission of the image compliance tool:
# chmod +x image_checkRun the command to start the image compliance tool checkup:
# ./image_checkThe tool verifies the system configuration and generates a report that is displayed on your screen. The
image_checktool saves this report in the same folder where the image compliance tool is running.
Troubleshooting
- If any of the Detection Items fail, follow the instructions in the terminal to correct them.