summaryrefslogtreecommitdiffstats
path: root/tosca/vCPE/generate_csar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tosca/vCPE/generate_csar.sh')
-rwxr-xr-xtosca/vCPE/generate_csar.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tosca/vCPE/generate_csar.sh b/tosca/vCPE/generate_csar.sh
index 21ba3a62..36541e62 100755
--- a/tosca/vCPE/generate_csar.sh
+++ b/tosca/vCPE/generate_csar.sh
@@ -28,7 +28,12 @@ for dir in $DIRS; do
# prepare temporary csar build subdirectory
cd $ROOT_DIR/$dir
mkdir $ROOT_DIR/$dir/tmp
- cp MainServiceTemplate.mf MainServiceTemplate.yaml tmp/
+ cp MainServiceTemplate.mf tmp/
+ if [ $1 ] && [ $1 == "sriov" ]; then
+ cp MainServiceTemplate_sriov.yaml tmp/MainServiceTemplate.yaml
+ else
+ cp MainServiceTemplate.yaml tmp/
+ fi
cp -r $ROOT_DIR/Artifacts tmp/
cp -r $ROOT_DIR/Definitions tmp/
cp -r $ROOT_DIR/TOSCA-Metadata tmp/