summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-05-24 15:11:37 +0800
committerchenshuai@huawei.com <chenshuai@huawei.com>2016-05-24 15:11:37 +0800
commit9de7d7031a227a04e965ca1448fddf42fe7d545c (patch)
tree6c6911b1f12245c563557587ffee56890927fce5 /deploy
parent0ed4e93eb256c60a326d233dbf3259e123caf2d1 (diff)
ocl : add sudo for jerkin
JIRA: COMPASS-398 Change-Id: If48fbdf9c6a1c2623fdbbea40963791c8fa4da78 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy/launch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/launch.sh b/deploy/launch.sh
index fbffc98c..9947bd8d 100755
--- a/deploy/launch.sh
+++ b/deploy/launch.sh
@@ -88,7 +88,7 @@ if [[ "$DEPLOY_HOST" == "true" || $REDEPLOY_HOST == "true" ]]; then
externet_cidr=$(sshpass -p 'root' ssh $ssh_options root@$installer_ip 'cat /home/opencontrail2.rc')
sudo ip route add $externet_cidr via $vgw_ip dev br-external 2>/dev/null
sleep 60
- python ${COMPASS_DIR}/deploy/reset_compute.py $TYPE $DHA
+ sudo python ${COMPASS_DIR}/deploy/reset_compute.py $TYPE $DHA
sleep 600
fi
fi