From 7d5a289419e2f5a0bc572020f388b5bc8cafa725 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 7 Feb 2013 13:45:33 +0100 Subject: [PATCH] use jerusalem as pxe server --- pxe_riserver_setup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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." -- 2.39.5