diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/deploy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/hydra/deploy b/share/hydra/deploy index 93f2b51..bf3f312 100755 --- a/share/hydra/deploy +++ b/share/hydra/deploy @@ -9,7 +9,7 @@ hydra_config_load # Command line arguments ORIGIN="$1" -COMMIT="1c975d65f221eb78baf2808893c059091740da2a" +COMMIT="d5fcbe970289d8246e6e3db4249a0bb6dc75cfb8" # Build node list NODES="`hydra $HYDRA nodes`" @@ -26,11 +26,11 @@ for node in $NODES; do ##### BEGIN REMOTE SCRIPT ##### if [ ! -d /usr/local/hydra ]; then sudo git clone $ORIGIN /usr/local/hydra - ( cd /usr/local/hydra ; git reset --hard $COMMIT ) + ( cd /usr/local/hydra ; sudo git reset --hard $COMMIT ) sudo ln -s /usr/local/hydra/hydra /usr/local/sbin/hydra sudo ln -s /usr/local/hydra/hydra /usr/local/sbin/hydractl else - ( cd /usr/local/hydra ; sudo git pull ; git reset --hard $COMMIT ) + ( cd /usr/local/hydra ; sudo git pull ; sudo git reset --hard $COMMIT ) fi ##### END REMOTE SCRIPT ####### EOF |