Help Center > > FAQs> Image Source Management> How Can I Use an OpenSUSE Image Source (x86_64) Provided by HUAWEI CLOUD?

How Can I Use an OpenSUSE Image Source (x86_64) Provided by HUAWEI CLOUD?

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


When updating the OS or software of an ECS, you can access the Internet through the ECS and use an external OpenSUSE image source. However, if your ECS cannot access the Internet, or the external OpenSUSE image source cannot provide services stably, you can use the OpenSUSE image source provided by HUAWEI CLOUD.


  • 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.
  • HUAWEI CLOUD does not provide the image source of the SUSE Linux Enterprise Server (SLES) enterprise edition.


  1. Log in to the ECS.
  2. Run the following commands to back up the .repo file:

    mkdir /etc/zypp/repos.d/repo_bak

    mv /etc/zypp/repos.d/*.repo /etc/zypp/repos.d/repo_bak/

  3. Run the command listed in Table 1 to configure the zypper source for the target OpenSUSE version.
    Table 1 Configuring the zypper source



    OpenSUSE 13.2

    zypper addrepo -fcg openSUSE-13.2-Oss

    zypper addrepo -fcg openSUSE-13.2-Non-Oss

    zypper addrepo -fcg openSUSE-13.2-Update-Oss

    zypper addrepo -fcg openSUSE-13.2-Update-Non-Oss

    OpenSUSE 42.2

    sudo zypper ar -fcg HWCloud:42.2:OSS

    sudo zypper ar -fcg HWCloud:42.3:NON-OSS

    sudo zypper ar -fcg HWCloud:42.2:UPDATE-OSS

    sudo zypper ar -fcg HWCloud:42.2:UPDATE-NON-OS

    • HUAWEI CLOUD supports OpenSUSE 13.2 and OpenSUSE 42.2 image sources.
    • If certain packages are unavailable, this issue may be caused by in-progress data synchronization. In such a case, try again several hours later.

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