diff options
Diffstat (limited to 'tests/blueprints')
-rwxr-xr-x | tests/blueprints/tosca-vnfd-hello-ves/blueprint.yaml | 2 | ||||
-rwxr-xr-x | tests/blueprints/tosca-vnfd-hello-ves/start.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/blueprints/tosca-vnfd-hello-ves/blueprint.yaml b/tests/blueprints/tosca-vnfd-hello-ves/blueprint.yaml index c652423..a998dad 100755 --- a/tests/blueprints/tosca-vnfd-hello-ves/blueprint.yaml +++ b/tests/blueprints/tosca-vnfd-hello-ves/blueprint.yaml @@ -203,6 +203,7 @@ topology_template: image: models-xenial-server availability_zone: nova mgmt_driver: noop + config_drive: true user_data_format: RAW user_data: | #!/bin/bash @@ -213,6 +214,7 @@ topology_template: cat << EOM >/home/ubuntu/.ssh/authorized_keys <pubkey> EOM + sudo mount /dev/sr0 /mnt/ cat << EOF >/tmp/setup.sh echo "1" | sudo tee /proc/sys/net/ipv4/ip_forward sudo sysctl net.ipv4.ip_forward=1 diff --git a/tests/blueprints/tosca-vnfd-hello-ves/start.sh b/tests/blueprints/tosca-vnfd-hello-ves/start.sh index 76de81d..da44fc7 100755 --- a/tests/blueprints/tosca-vnfd-hello-ves/start.sh +++ b/tests/blueprints/tosca-vnfd-hello-ves/start.sh @@ -202,7 +202,7 @@ setup_monitor () { sed -i -- "/vel_topic_name = /a vdu1_id = $vdu1_id" evel-test-collector/config/collector.conf cp monitor.py evel-test-collector/code/collector/monitor.py -# python evel-test-collector/code/collector/monitor.py --config evel-test-collector/config/collector.conf --section default + nohup python evel-test-collector/code/collector/monitor.py --config evel-test-collector/config/collector.conf --section default > /dev/null 2>&1 & } type=$1 |