Commit 4d0f7774 authored by YannGarcia's avatar YannGarcia

Update Dockerfile & vagrant/provisioner.bash

parent b8076111
......@@ -90,6 +90,7 @@ RUN cd /home/etsi/dev \
&& git checkout STF525 \
&& cd /home/etsi/dev/STF525_Its/scripts \
&& chmod 775 *.bash devenv.bash.* \
&& ./update_user_name.sh \
&& cd /home/etsi \
&& ln -sf /home/etsi/dev/STF525_Its/scripts/devenv.bash.ubuntu /home/etsi/devenv.bash \
&& ls -ltr /home/etsi \
......
#!/bin/bash
# Debug mode
#set -e
set -vx
# Usage: sudo ./update_user_name.bash
# TODO Use git clone in temporary directory
USER_NAME='s/vagrant/etsi/g'
for i in `find /home/etsi/dev/STF525_Its -name "*.cf*"`
do
sed --in-place "${USER_NAME}" $i
done
exit 0
......@@ -79,6 +79,7 @@ cd /home/vagrant/dev/STF525_Its/ttcn/LibIts
git checkout STF525
cd /home/vagrant/dev/STF525_Its/scripts
chmod 775 *.bash devenv.bash.*
./update_user_name.sh
cd /home/vagrant/dev/STF525_Its/docker
chmod 775 *.sh
cd /home/vagrant/dev/STF525_Its
......
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