30eadb2541
The command value is wrong in the example files for vm tasks. Change-Id: I636f8a8552c4e1ad48e6455ea87ade1a62933315 Closes-bug: #1590814
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{% set flavor_name = flavor_name or "m1.tiny" %}
|
|
{
|
|
"VMTasks.boot_runcommand_delete": [
|
|
{
|
|
"args": {
|
|
"flavor": {
|
|
"name": "{{flavor_name}}"
|
|
},
|
|
"image": {
|
|
"name": "^cirros.*uec$"
|
|
},
|
|
"volume_args": {
|
|
"size": 2
|
|
},
|
|
"fixed_network": "private",
|
|
"floating_network": "public",
|
|
"use_floating_ip": true,
|
|
"force_delete": false,
|
|
"command": {
|
|
"interpreter": "/bin/sh",
|
|
"script_file": "samples/tasks/support/instance_dd_test.sh"
|
|
},
|
|
"username": "cirros"
|
|
},
|
|
"runner": {
|
|
"type": "constant",
|
|
"times": 10,
|
|
"concurrency": 2
|
|
},
|
|
"context": {
|
|
"users": {
|
|
"tenants": 3,
|
|
"users_per_tenant": 2
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|