Files
rally-openstack/samples/tasks/contexts/image-command-customizer.json
Andriy Kurilin c3c6de9804 Port all samples to task format v2
Signed-off-by: Andriy Kurilin <andr.kurilin@gmail.com>
Change-Id: Id9d1c0cd8f2cbc34d22f861af7c2297899aa4e4e
2025-09-17 13:15:29 +02:00

44 lines
1.6 KiB
JSON

{
"version": 2,
"title": "Task template with image command customizer context",
"description": "This sample demonstrates the usage of image command customizer context for creating customized images with pre-installed commands.",
"subtasks": [
{
"title": "Test with image command customizer",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"times": 1,
"concurrency": 1,
"timeout": 3000
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"image_command_customizer": {
"image": {"name": "Fedora-x86_64-20-20140618-sda"},
"flavor": {"name": "m1.small"},
"command": {
"local_path": "rally-jobs/extra/install_benchmark.sh",
"remote_path": "./install_benchmark.sh"
},
"username": "root",
"userdata": "#cloud-config\ndisable_root: 0\nssh_pwauth: 1"
},
"network": {}
}
}
]
}
]
}