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
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
lizhongxiao
openxg-5gcs-release
Commits
d791660b
Commit
d791660b
authored
Apr 03, 2022
by
Luhan Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aa
parent
2cd33f83
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
ci-scripts/prepareEnv.sh
ci-scripts/prepareEnv.sh
+12
-0
No files found.
ci-scripts/prepareEnv.sh
0 → 100755
View file @
d791660b
#!/bin/bash
ALL_VMS
=
$(
sudo
uvt-kvm list
)
VM_NAME
=
"vmtest"
CURRENT_PATH
=
`
pwd
`
echo
$ALL_VMS
result
=
$(
echo
$ALL_VMS
|
grep
"
${
VM_NAME
}
"
)
if
[
"
$result
"
==
""
]
;
then
exit
1
## VM doesn't exist
fi
VM_IP
=
`
sudo
uvt-kvm ip
${
VM_NAME
}
`
ssh
-T
-o
StrictHostKeyChecking
=
no ubuntu@
${
VM_IP
}
<
$CURRENT_PATH
/git-clone-in-vm.sh
\ No newline at end of file
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