Expand script path by os.path.expanduser
Make if possible to use tilda in script path Change-Id: I1dcf32505c86302ebdde41aa2d869665b50f0954
This commit is contained in:
parent
d9169b71f9
commit
c72b3dbe31
@ -656,7 +656,7 @@
|
|||||||
size: 2
|
size: 2
|
||||||
use_floatingip: true
|
use_floatingip: true
|
||||||
command:
|
command:
|
||||||
script_file: "/home/jenkins/.rally/extra/instance_dd_test.sh"
|
script_file: "~/.rally/extra/instance_dd_test.sh"
|
||||||
interpreter: "/bin/sh"
|
interpreter: "/bin/sh"
|
||||||
username: "cirros"
|
username: "cirros"
|
||||||
runner:
|
runner:
|
||||||
@ -679,7 +679,7 @@
|
|||||||
name: {{image_name}}
|
name: {{image_name}}
|
||||||
use_floatingip: false
|
use_floatingip: false
|
||||||
command:
|
command:
|
||||||
script_file: "/home/jenkins/.rally/extra/instance_dd_test.sh"
|
script_file: "~/.rally/extra/instance_dd_test.sh"
|
||||||
interpreter: "/bin/sh"
|
interpreter: "/bin/sh"
|
||||||
username: "cirros"
|
username: "cirros"
|
||||||
runner:
|
runner:
|
||||||
|
@ -296,7 +296,7 @@
|
|||||||
floating_network: "net04_ext"
|
floating_network: "net04_ext"
|
||||||
use_floatingip: true
|
use_floatingip: true
|
||||||
command:
|
command:
|
||||||
script_file: "/home/rally/.rally/extra/instance_dd_test.sh"
|
script_file: "~/.rally/extra/instance_dd_test.sh"
|
||||||
interpreter: "/bin/sh"
|
interpreter: "/bin/sh"
|
||||||
username: "cirros"
|
username: "cirros"
|
||||||
runner:
|
runner:
|
||||||
|
@ -463,7 +463,7 @@
|
|||||||
image:
|
image:
|
||||||
name: {{image_name}}
|
name: {{image_name}}
|
||||||
command:
|
command:
|
||||||
script_file: "/home/jenkins/.rally/extra/instance_dd_test.sh"
|
script_file: "~/.rally/extra/instance_dd_test.sh"
|
||||||
interpreter: "/bin/sh"
|
interpreter: "/bin/sh"
|
||||||
username: "cirros"
|
username: "cirros"
|
||||||
runner:
|
runner:
|
||||||
|
Loading…
Reference in New Issue
Block a user