From: Holger Levsen Date: Thu, 7 Feb 2013 10:20:51 +0000 (+0100) Subject: make the file world readable X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=f8dc04862ad5bb1b28fed842981b6e31a177a0d0;p=profitbricks%2Fjenkins-build-scripts.git make the file world readable --- diff --git a/pxe_riserver_setup.sh b/pxe_riserver_setup.sh index 7cac6ee..e424319 100755 --- a/pxe_riserver_setup.sh +++ b/pxe_riserver_setup.sh @@ -3,7 +3,7 @@ # copyright 2013 Holger Levsen # 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."