create tftp boot enviroment from upstream debian netboot
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 24 May 2009 20:31:46 +0000 (20:31 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 24 May 2009 20:31:46 +0000 (20:31 +0000)
git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@96 191e9f34-6774-4a6d-acfc-7664dacd4a2a

recepies/pxe/3.create-tftpboot.sh [new file with mode: 0755]

diff --git a/recepies/pxe/3.create-tftpboot.sh b/recepies/pxe/3.create-tftpboot.sh
new file mode 100755 (executable)
index 0000000..8a00ba8
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+test -d tftpboot || wget -nc ftp.hr.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/netboot.tar.gz && mkdir tftpboot && cd tftpboot && tar xvfz ../netboot.tar.gz