summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorSimon Rettberg2013-05-14 17:37:33 +0200
committerSimon Rettberg2013-05-14 17:37:33 +0200
commitc14d8efee467c2c6be4d3f80b8d7a0c367eab39c (patch)
tree8b5ed58e90a095fa2d45512a735ce915a3d9fecf /data
parentDERP (diff)
downloadtm-scripts-c14d8efee467c2c6be4d3f80b8d7a0c367eab39c.tar.gz
tm-scripts-c14d8efee467c2c6be4d3f80b8d7a0c367eab39c.tar.xz
tm-scripts-c14d8efee467c2c6be4d3f80b8d7a0c367eab39c.zip
ipxe fixes
Diffstat (limited to 'data')
-rwxr-xr-xdata/install_server.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/data/install_server.sh b/data/install_server.sh
index 597d056b..f8026026 100755
--- a/data/install_server.sh
+++ b/data/install_server.sh
@@ -1,6 +1,12 @@
#!/bin/sh
-TOOLS="git squashfs-tools rsync lighttpd tftpd"
+if [ $# -lt 1 ]; then
+ echo "Usage: $0 <this server's ip>"
+ exit 1
+fi
+SERVER_IP="$1"
+
+TOOLS="git squashfs-tools rsync lighttpd tftpd gcc binutils make"
for tool in $TOOLS; do
echo " ###### Installiere $tool ##########"
@@ -150,7 +156,7 @@ if [ "$ERR" -gt 0 ]; then
exit 1
fi
-cp ipxelinux.0 /srv/openslx/tftp
+cp ipxelinux.0 /srv/openslx/tftp/
echo " ##### Klone das mltk repository ########"