Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC TTCN-3 Test Suite
Commits
dcb5cc73
Commit
dcb5cc73
authored
Jan 28, 2022
by
YannGarcia
Browse files
Add vagrant specific script
parent
9f24fd7c
Changes
3
Hide whitespace changes
Inline
Side-by-side
scripts/update_user_name.sh
View file @
dcb5cc73
...
...
@@ -8,7 +8,7 @@
# TODO Use git clone in temporary directory
USER_NAME
=
's/vagrant/etsi/g'
for
i
in
`
find /home/etsi/dev/
TTF0002
_Its
-name
"*.cf*"
`
for
i
in
`
find /home/etsi/dev/
$1
_Its
-name
"*.cf*"
`
do
sed
--in-place
${
USER_NAME
}
$i
done
...
...
virtualization/docker/home/etc/init.d/40-ttf_t012.sh
View file @
dcb5cc73
...
...
@@ -26,10 +26,6 @@ cp ./ttcn/patch_lib_common_titan/*.ttcn ./ttcn/LibCommon/ttcn
cp
./ttcn/patch_lib_http/
*
.ttcn ./ttcn/LibIts/ttcn/Http/
cp
./ttcn/patch_lib_its/module.mk ./ttcn/LibIts/
echo
-e
"*****************************
\n
* Change user in cfg files
\n
*****************************
\n
"
cd
${
HOME
}
/dev/TTF_T012_Mec/scripts
||
exit
1
./update_user_name.sh
||
exit
1
echo
-e
"*****************************
\n
* Build Mec test suite
\n
*****************************
\n
"
export
ATS
=
AtsMec
make
...
...
virtualization/vagrant/provisioner.bash
View file @
dcb5cc73
...
...
@@ -168,6 +168,10 @@ cd /home/vagrant/dev/TTF012_Mec
export
ATS
=
AtsMec
make
# Change user in cfg files
cd
${
HOME
}
/dev/TTF012_Mec/scripts
./update_user_name.sh TTF012_Mec
# Update configuration file
cd
./etc/AtsMec
ln
-sf
AtsMec_Sandbox.cf_ AtsMec.cfg
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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