Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring the oVirt Software Sources

Perform the operations described in this section on all nodes.

  1. Modify the OS, everything, and EPOL software sources.
    1. Open the file.
      1
      vi /etc/yum.repos.d/openEuler.repo
      
    1. Press i to enter the insert mode and add the priority=1 parameter to preferentially use the OS, everything, and EPOL software sources.

    1. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
  2. Add the SP1-Epol-update software source.
    1
    2
    3
    4
    5
    6
    echo "[openEuler-EPOL-update]
    name=openEuler-epol-update
    baseurl=https://mirrors.huaweicloud.com/openeuler/openEuler-20.03-LTS-SP1/EPOL/update/aarch64/
    enabled=1
    gpgcheck=0
    " >> /etc/yum.repos.d/openEulerOS.repo
    
  3. Add the local oVirt software source.
    1
    2
    3
    4
    5
    6
    7
    echo "[ovirt-local]
    name=ovirt-local
    baseurl=file:///root/ovirt_rpm/
    enabled=0
    gpgcheck=0
    priority=1
    " >> /etc/yum.repos.d/openEulerOS.repo
    
  4. Set the update source of openEuler to enable.
    1
    yum-config-manager --enable update
    
  5. Clear the cache and re-create a cache.
    1
    yum clean all && yum makecache