]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
make the file world readable
authorHolger Levsen <holger@layer-acht.org>
Thu, 7 Feb 2013 10:20:51 +0000 (11:20 +0100)
committerHolger Levsen <holger@layer-acht.org>
Thu, 7 Feb 2013 10:20:51 +0000 (11:20 +0100)
pxe_riserver_setup.sh

index 7cac6ee80f4d50ca48ec4706f478a7882c51ab59..e42431977fde1981b5a06c31d3beb9b283627b1d 100755 (executable)
@@ -3,7 +3,7 @@
 # copyright 2013 Holger Levsen <holger@layer-acht.org>
 # GPL2 licenced
 
-set -x
+#set -x
 export
 
 if [ "$4" = "" ] || ( [ "$4" != "install" ] && [ "$4" != "sysinfo" ] && [ "$4" != "localboot" ] ) ; then 
@@ -45,6 +45,7 @@ echo
 
 echo "Copying PXE configuration for $TARGET_HOST to riserver..."
 scp $TMPFILE riserver:/srv/tftp/pxelinux.cfg/$TARGET_MAC
+ssh riserver chmod 755 riserver:/srv/tftp/pxelinux.cfg/$TARGET_MAC
 rm $TMPFILE
 
 echo "Enjoy."