Expand script path by os.path.expanduser

Make if possible to use tilda in script path

Change-Id: I1dcf32505c86302ebdde41aa2d869665b50f0954
This commit is contained in:
Sergey Skripnick 2015-08-14 13:56:56 +02:00
parent d9169b71f9
commit c72b3dbe31
3 changed files with 4 additions and 4 deletions

View File

@ -656,7 +656,7 @@
size: 2
use_floatingip: true
command:
script_file: "/home/jenkins/.rally/extra/instance_dd_test.sh"
script_file: "~/.rally/extra/instance_dd_test.sh"
interpreter: "/bin/sh"
username: "cirros"
runner:
@ -679,7 +679,7 @@
name: {{image_name}}
use_floatingip: false
command:
script_file: "/home/jenkins/.rally/extra/instance_dd_test.sh"
script_file: "~/.rally/extra/instance_dd_test.sh"
interpreter: "/bin/sh"
username: "cirros"
runner:

View File

@ -296,7 +296,7 @@
floating_network: "net04_ext"
use_floatingip: true
command:
script_file: "/home/rally/.rally/extra/instance_dd_test.sh"
script_file: "~/.rally/extra/instance_dd_test.sh"
interpreter: "/bin/sh"
username: "cirros"
runner:

View File

@ -463,7 +463,7 @@
image:
name: {{image_name}}
command:
script_file: "/home/jenkins/.rally/extra/instance_dd_test.sh"
script_file: "~/.rally/extra/instance_dd_test.sh"
interpreter: "/bin/sh"
username: "cirros"
runner: