From: Holger Levsen Date: Thu, 7 Feb 2013 12:45:33 +0000 (+0100) Subject: use jerusalem as pxe server X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=7d5a289419e2f5a0bc572020f388b5bc8cafa725;p=profitbricks%2Fjenkins-build-scripts.git use jerusalem as pxe server --- diff --git a/pxe_riserver_setup.sh b/pxe_riserver_setup.sh index 3f7956e..f7f6702 100755 --- a/pxe_riserver_setup.sh +++ b/pxe_riserver_setup.sh @@ -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."