diff options
author | 2019-05-07 14:58:22 +0000 | |
---|---|---|
committer | 2019-05-07 14:58:22 +0000 | |
commit | cdb81112b08895c30132a930eb3c8095bbea10e6 (patch) | |
tree | 689175fd3014799c88b78fb22e2c4abbcfe237c7 /boot/robot/vm_config2robot.sh | |
parent | 24d0c131ec95b43934dfb76ec397392ff851dbcf (diff) | |
parent | af2d30e94c0e0ff77467bbe49c766af1c45eb271 (diff) |
Merge "remove boot/robot folder"
Diffstat (limited to 'boot/robot/vm_config2robot.sh')
-rwxr-xr-x | boot/robot/vm_config2robot.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/boot/robot/vm_config2robot.sh b/boot/robot/vm_config2robot.sh deleted file mode 100755 index c50fa5f4..00000000 --- a/boot/robot/vm_config2robot.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -# -# Make vm1_robot config available to robot -# -CONFIG=/opt/config -PROPERTIES=/opt/eteshare/config/vm_properties.py -GLOBAL_VM_PROPERTIES="# File generated from /opt/config\n#\n" -HASH="GLOBAL_INJECTED_PROPERTIES={" -COMMA="" -for f in `ls $CONFIG/*.txt`; -do - VALUE=`cat $f` - NAME=${f%.*} - NAME=${NAME##*/} - NAME=${NAME^^} - GLOBAL_VM_PROPERTIES=$"${GLOBAL_VM_PROPERTIES}GLOBAL_INJECTED_$NAME = \"$VALUE\"\n" - HASH=$"${HASH}${COMMA}\n\"GLOBAL_INJECTED_$NAME\" : \"$VALUE\"" - COMMA="," -done -HASH="${HASH}}\n" -GLOBAL_VM_PROPERTIES="${GLOBAL_VM_PROPERTIES}\n${HASH}" -GLOBAL_VM_PROPERTIES=${GLOBAL_VM_PROPERTIES} -echo -e $GLOBAL_VM_PROPERTIES > $PROPERTIES |