1. Hojin Choi
  2. bearcat

Commits

Hojin Choi  committed 19cddbd

Added script for centos fetching

  • Participants
  • Parent commits 70862d6
  • Branches default

Comments (0)

Files changed (1)

File get_centos_pxeinstall.sh

View file
+#!/bin/sh
+
+if test -z "$VERSION"; then
+	VERSION=6.2
+fi
+
+if test -z "$ARCH"; then
+	ARCH=x86_64
+fi
+
+wget http://ftp.daum.net/centos/$VERSION/os/$ARCH/images/pxeboot/vmlinuz -O tftproot/vmlinuz
+wget http://ftp.daum.net/centos/$VERSION/os/$ARCH/images/pxeboot/initrd.img -O tftproot/initrd.img