]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
use jerusalem as pxe server
authorHolger Levsen <holger@layer-acht.org>
Thu, 7 Feb 2013 12:45:33 +0000 (13:45 +0100)
committerHolger Levsen <holger@layer-acht.org>
Thu, 7 Feb 2013 12:45:33 +0000 (13:45 +0100)
pxe_riserver_setup.sh

index 3f7956ee160cbbf0f1607610282943e8284b483e..f7f6702e4540e4f312ba7c0858ac817a52ba75ba 100755 (executable)
@@ -19,7 +19,7 @@ TARGET_MAC=$2
 TARGET_DEV=$3
 TARGET_ACTION=$4
 
-echo "Re-configuring PXE on riserver:"
+echo "Re-configuring PXE on jerusalem:"
 echo
 echo "        NIC:  $TARGET_MAC (hostname: $TARGET_HOST) on $TARGET_DEV"
 echo 
@@ -53,9 +53,9 @@ EOF
 cat $TMPFILE
 echo
 echo
-echo "Copying PXE configuration for $TARGET_HOST to riserver..."
-scp $TMPFILE riserver:/srv/tftp/pxelinux.cfg/$TARGET_MAC
-ssh riserver chmod 755 /srv/tftp/pxelinux.cfg/$TARGET_MAC
+echo "Copying PXE configuration for $TARGET_HOST to jerusalem..."
+scp $TMPFILE jerusalem:/srv/tftp/pxelinux.cfg/$TARGET_MAC
+ssh jerusalem chmod 755 /srv/tftp/pxelinux.cfg/$TARGET_MAC
 rm $TMPFILE
 echo
 echo "Enjoy."