Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Commit

Permalink
Increase timeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miao Luo committed Sep 26, 2017
1 parent 35e3463 commit 0ff535a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions misc/scripts/deploy-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,12 @@ function setupVMType {
}

function installManagedPlugin {
log "installManagedPlugin: Installing vDVS plugin [$MANAGED_PLUGIN_NAME]"
if [ $PLUGIN_NAME == $VFILE_PLUGNAME ]
then
$SSH $TARGET "docker plugin install --grant-all-permissions --alias $PLUGIN_ALIAS $MANAGED_PLUGIN_NAME VFILE_TIMEOUT_IN_SECOND=90"
log "installManagedPlugin: Installing vfile plugin [$MANAGED_PLUGIN_NAME]"
$SSH $TARGET "docker plugin install --grant-all-permissions --alias $PLUGIN_ALIAS $MANAGED_PLUGIN_NAME VFILE_TIMEOUT_IN_SECOND=120"
else
log "installManagedPlugin: Installing vDVS plugin [$MANAGED_PLUGIN_NAME]"
$SSH $TARGET "docker plugin install --grant-all-permissions --alias $PLUGIN_ALIAS $MANAGED_PLUGIN_NAME"
fi
}
Expand Down

0 comments on commit 0ff535a

Please sign in to comment.