root/contrib/pxe-installer/build.sh

Revision d24f377aeb6c2d15f0326753551ca2e7bb84c7bf, 259 bytes (checked in by Frederic Lepied <frederic.lepied@…>, 3 years ago)

add a generic pxe-installer contrib

  • Property mode set to 100755
Line 
1#!/bin/sh
2
3set -e
4set -x
5
6OS=lenny-root
7debootstrap lenny $OS http://compil:9999/debian
8chroot $OS apt-get install linux-image-2.6.26-1-686 pciutils partimage parted
9mv $OS/boot/vmli* .
10rm -f $OS/boot/init*
11rm -rf $OS/usr/share/{man,info,locale}
12cp init $OS/
Note: See TracBrowser for help on using the browser.