Help Center > > FAQs> Image Source Management> How Can I Use the Automated Tool to Configure an HUAWEI CLOUD Image Source (x86_64)?

How Can I Use the Automated Tool to Configure an HUAWEI CLOUD Image Source (x86_64)?

Updated at: Jul 10, 2020 GMT+08:00

Scenarios

When updating the OS or software of an ECS, you can access the Internet through the ECS and use an external image source. However, if your ECS cannot access the Internet, or the external image source cannot provide services stably, you can use the one-click script configuration function provided by HUAWEI CLOUD to configure and update the image source.

Constraints

  • This section applies only to the following regions: CN North-Beijing1, CN North-Beijing4, CN East-Shanghai1, CN East-Shanghai2, CN South-Guangzhou, and AP-Hong Kong.
  • Make sure that the intranet DNS server provided by HUAWEI CLOUD has been configured. For instructions about how to obtain an intranet DNS server, see What Are the Private DNS Server Addresses Provided by the DNS Service?
  • The operations described in this section apply to ECSs deployed on x86_64 servers.
  • Only the following OSs are supported: EulerOS, CentOS, Debian, Ubuntu, and OpenSUSE.

Procedure

  1. Log in to the ECS.
  2. Run the following command to configure the image source with a few clicks:

    wget http://mirrors.myhuaweicloud.com/repo/mirrors_source.sh && sh mirrors_source.sh

    If executing the command failed, manually configure the image source by following the instructions provided in the configuration guide for other HUAWEI CLOUD image sources or contact customer service.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel