scripts/gestion/gen_confs/pxeboot/mount_ubuntu_live
Valentin Samir e3115377c5 [pxeboot/mount_ubuntu_live] On a besoin du chemin absolu de la config
Ignore-this: d844cf47453186f6e1448f77d4fc1cc0

darcs-hash:20130126184758-3a55a-18411176dfe481723fc2051c6c1ce70369f8060c.gz
2013-01-26 19:47:58 +01:00

15 lines
499 B
Bash
Executable file

#!/bin/bash
. /usr/scripts/gestion/gen_confs/pxeboot/config
for type in $UBUNTU_LIVE_TYPE; do
for dist in $UBUNTU_LIVE; do
for arch in $UBUNTU_LIVE_ARCHS; do
if test -e $ISODIR/ubuntu/$type-$dist-desktop-$arch.iso; then
mkdir -p $TFTPROOT/livecd/ubuntu/$type-$dist-$arch
mount -o loop $ISODIR/ubuntu/$type-$dist-desktop-$arch.iso $TFTPROOT/livecd/ubuntu/$type-$dist-$arch
fi
done
done
done
/etc/init.d/nfs-kernel-server start