scripts/gestion/gen_confs/pxeboot/mount_ubuntu_live
Valentin Samir a9b4bac51c [pxeboot] fin du déplaçage, ajout d'un script pour remonter les iso pour les livecd
Ignore-this: 69f5cdde1f97fcd8419f1668f2b52496

darcs-hash:20130107201936-3a55a-0c8cd96190c61399c77c362a533076ee4b28513b.gz
2013-01-07 21:19:36 +01:00

15 lines
460 B
Bash
Executable file

#!/bin/bash
. 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