add the argument WORKDIR in daisy-img-modify.sh 27/33327/2
authorzhongjun <zhong.jun@zte.com.cn>
Thu, 13 Apr 2017 07:14:45 +0000 (15:14 +0800)
committerzhongjun <zhong.jun@zte.com.cn>
Fri, 14 Apr 2017 07:42:02 +0000 (15:42 +0800)
commit3f09e7e05515811537376ccad532ac52d4bd3305
tree422c1e2a299d91130372fbb5fc3079cc61411f10
parent2cf7f098048ef0c11eb1321747b600230a495c88
add the argument WORKDIR in daisy-img-modify.sh

the daisy install tmp workdir can be configurated as an input
argument in deploy.sh,and it also should be used in subshell
daisy-img-modify.sh,so add the input argument -w workdir
in daisy-img-modify.sh.

1.add an input argument -w workdir in daisy-img-modify.sh.
2.modify the WORKDIR default value to /tmp/workdir/daisy.
3.code refactor to put the centos7.qcow2 file clean statement
from the deploy.sh to daisy-img-modify.sh.

Change-Id: Id375a15ad2839c209329e644c5e032d044604e7d
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
ci/deploy/deploy.sh
tools/daisy-img-modify.sh