diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2017-03-27 11:53:39 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2017-03-27 14:11:21 +0800 |
commit | 7ee5c95db62d13d860d51974aa9c0a14404cee56 (patch) | |
tree | 8b8c36e9fef50ace481694cd1933566048755a6d /prepare.sh | |
parent | 654e20848b723541c17d56cf16518db87e14f7ae (diff) |
run without sudo
Jenkins can't remove some dir generate by sudo
and leads to CI error for following tasks.
Change codes to run ./opera_launch.sh without
sudo
Change-Id: Iaebd7e1fbdf413a91cc55c77e1b5c6915cfc86d6
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'prepare.sh')
-rwxr-xr-x | prepare.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -28,10 +28,10 @@ function package_prepare() sudo yum install -y wget python-pip sshpass figlet curl net-tools fi sudo pip install pyyaml - docker version &>/dev/null + sudo docker version &>/dev/null if [[ $? != 0 ]];then - curl -sSL https://experimental.docker.com/ | sh - service docker start + sudo curl -sSL https://experimental.docker.com/ | sh + sudo service docker start fi } |