Commit 1a7ac375 authored by Luhan Wang's avatar Luhan Wang

fix apt source

parent 30c82d3c
......@@ -9,8 +9,8 @@ echo $result
if [ "$result" != "" ];then
uvt-kvm destroy $VM_NAME ## if exist testing vm, then remove it
fi
uvt-simplestreams-libvirt purge
uvt-simplestreams-libvirt sync arch=amd64 release=bionic --source=https://mirrors.tuna.tsinghua.edu.cn/ubuntu-cloud-images/daily
#uvt-simplestreams-libvirt purge
#uvt-simplestreams-libvirt sync arch=amd64 release=bionic --source=https://mirrors.tuna.tsinghua.edu.cn/ubuntu-cloud-images/daily
##创建一个虚拟机用于承载测试;
uvt-kvm create vmtest release=bionic --memory 8192 --disk 80 --cpu 4 --ssh-public-key-file ~/.ssh/id_rsa.pub
uvt-kvm wait $VM_NAME
......
......@@ -10,16 +10,16 @@ echo "successfully cloned project"
sudo -i
echo -e " \
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse \n \
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse \n \
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse \n \
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse \n \
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse \n \
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse \n \
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse \n \
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse \n \
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse \n \
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse \n \
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse \n \
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse \n \
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse \n \
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse \n \
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse \n \
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse \n \
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse \n \
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse \n \
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse \n \
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse \n \
" > /etc/apt/sources.list
sudo apt update
cd /home/ubuntu/openxg-5gcs-release
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment