參考:華爲開源鏡像站_軟件開發服務_華爲雲 (huaweicloud.com)
Ubuntu-CD的鏡像地址爲:https://repo.huaweicloud.com/ubuntu-cdimage/
Ubuntu-Cloud的鏡像地址爲:https://repo.huaweicloud.com/ubuntu-cloud-images/
Ubuntu-Ports的倉庫地址爲:https://repo.huaweicloud.com/ubuntu-ports/
Ubuntu-Releases的鏡像地址爲:https://repo.huaweicloud.com/ubuntu-releases/
sudo sed -i "s@http://.*security.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list