summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
edea18a)
Print info and delay container start when using Linux on Win
Minor correction in README
Issue-ID: NONRTRIC-468
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I2bf36ad5ac751c1e4482ced809312a7bd0b6dcf4
./FTC1.sh remote docker --env-file ../common/test_env-oran-cherry.sh
./FTC1.sh remote docker --env-file ../common/test_env-oran-cherry.sh
-Note that is running on a released verion, the parameter "release" shall be included to run the released images.
+Note that not is running on a released verion, the parameter "release" shall be included to run the released images.
See the README.md in `../common/` for all details about available parameters and their meaning.
See the README.md in `../common/` for all details about available parameters and their meaning.
+ os_version=$(uname -a 2> /dev/null | awk '{print tolower($0)}' | grep "mircosoft")
+ if [[ "$os_version" == *"mircosoft"* ]]; then
+ echo -e $YELLOW" Workaround for Linux on Win - delay container start, 1 sec, to make sure files mounted in the container are available on disk - WLS problem"$EYELLOW
+ sleep 1
+ fi
+
+
if [ "$compose_args" == "NODOCKERARGS" ]; then
docker-compose -f $compose_file up -d &> .dockererr
if [ $? -ne 0 ]; then
if [ "$compose_args" == "NODOCKERARGS" ]; then
docker-compose -f $compose_file up -d &> .dockererr
if [ $? -ne 0 ]; then