Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openxg-5gcs-release
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ZhaoJingguo
openxg-5gcs-release
Commits
1a7ac375
Commit
1a7ac375
authored
Apr 23, 2022
by
Luhan Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix apt source
parent
30c82d3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
ci-scripts/createVM.sh
ci-scripts/createVM.sh
+2
-2
ci-scripts/prepare-in-vm.sh
ci-scripts/prepare-in-vm.sh
+10
-10
No files found.
ci-scripts/createVM.sh
View file @
1a7ac375
...
@@ -9,8 +9,8 @@ echo $result
...
@@ -9,8 +9,8 @@ echo $result
if
[
"
$result
"
!=
""
]
;
then
if
[
"
$result
"
!=
""
]
;
then
uvt-kvm destroy
$VM_NAME
## if exist testing vm, then remove it
uvt-kvm destroy
$VM_NAME
## if exist testing vm, then remove it
fi
fi
uvt-simplestreams-libvirt purge
#
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 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 create vmtest
release
=
bionic
--memory
8192
--disk
80
--cpu
4
--ssh-public-key-file
~/.ssh/id_rsa.pub
uvt-kvm
wait
$VM_NAME
uvt-kvm
wait
$VM_NAME
...
...
ci-scripts/prepare-in-vm.sh
View file @
1a7ac375
...
@@ -10,16 +10,16 @@ echo "successfully cloned project"
...
@@ -10,16 +10,16 @@ echo "successfully cloned project"
sudo
-i
sudo
-i
echo
-e
"
\
echo
-e
"
\
deb http
://mirrors.aliyun.com
/ubuntu/ bionic main restricted universe multiverse
\n
\
deb http
s://mirrors.ustc.edu.cn
/ubuntu/ bionic main restricted universe multiverse
\n
\
deb-src http
://mirrors.aliyun.com
/ubuntu/ bionic main restricted universe multiverse
\n
\
deb-src http
s://mirrors.ustc.edu.cn
/ubuntu/ bionic main restricted universe multiverse
\n
\
deb http
://mirrors.aliyun.com/ubuntu/ bionic-security
main restricted universe multiverse
\n
\
deb http
s://mirrors.ustc.edu.cn/ubuntu/ bionic-updates
main restricted universe multiverse
\n
\
deb-src http
://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
\n
\
deb-src http
s://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
\n
\
deb http
://mirrors.aliyun.com/ubuntu/ bionic-update
s main restricted universe multiverse
\n
\
deb http
s://mirrors.ustc.edu.cn/ubuntu/ bionic-backport
s main restricted universe multiverse
\n
\
deb-src http
://mirrors.aliyun.com/ubuntu/ bionic-update
s main restricted universe multiverse
\n
\
deb-src http
s://mirrors.ustc.edu.cn/ubuntu/ bionic-backport
s main restricted universe multiverse
\n
\
deb http
://mirrors.aliyun.com/ubuntu/ bionic-proposed
main restricted universe multiverse
\n
\
deb http
s://mirrors.ustc.edu.cn/ubuntu/ bionic-security
main restricted universe multiverse
\n
\
deb-src http
://mirrors.aliyun.com/ubuntu/ bionic-proposed
main restricted universe multiverse
\n
\
deb-src http
s://mirrors.ustc.edu.cn/ubuntu/ bionic-security
main restricted universe multiverse
\n
\
deb http
://mirrors.aliyun.com/ubuntu/ bionic-backports
main restricted universe multiverse
\n
\
deb http
s://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed
main restricted universe multiverse
\n
\
deb-src http
://mirrors.aliyun.com/ubuntu/ bionic-backports
main restricted universe multiverse
\n
\
deb-src http
s://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed
main restricted universe multiverse
\n
\
"
>
/etc/apt/sources.list
"
>
/etc/apt/sources.list
sudo
apt update
sudo
apt update
cd
/home/ubuntu/openxg-5gcs-release
cd
/home/ubuntu/openxg-5gcs-release
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment