]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
Changed link creation.
authorMarjan Schiller <marjan.schiller@profitbricks.com>
Tue, 11 Jun 2013 11:35:01 +0000 (13:35 +0200)
committerMarjan Schiller <marjan.schiller@profitbricks.com>
Tue, 11 Jun 2013 11:35:01 +0000 (13:35 +0200)
liveboot_set_image.sh

index 31d243d4bbf770b9f63d9d1aea190b08a848d070..37994502ab83d7b4e3fcd2c909056613528b1d20 100755 (executable)
@@ -31,13 +31,9 @@ else
 fi
 
 #
-# create pending-approval link and rsync again
+# create pending-approval link
 #
-cd /srv/mirror/liveboot
-rm -f pending-approval
-ln -sfv $(basename $SOURCE_DIR) pending-approval
-echo "pending-approval link created, pointing to $SOURCE_DIR"
-
+ssh -oStrictHostKeyChecking=no riserver "rm -f /srv/mirror/liveboot/pending-approval; ln -sfv $(basename $SOURCE_DIR) /srv/mirror/liveboot/pending-approval"
 #
 # finish
 #