#!/bin/sh

BASEDIR=/fs/mirrors/centos/6/os
X64=${BASEDIR}/x86_64/images/pxeboot
I386=${BASEDIR}/i386/images/pxeboot

cd /fs/tftp/deployment/CentOS/6/ || die "Unable to cd"

cp -a ${I386}/initrd.img i386/initrd.img
cp -a ${I386}/vmlinuz i386/vmlinuz

cp -a ${X64}/initrd.img x86_64/initrd.img
cp -a ${X64}/vmlinuz x86_64/vmlinuz
