16 lines
619 B
Bash
Executable file
16 lines
619 B
Bash
Executable file
#!/bin/bash
|
|
. /usr/scripts/gestion/gen_confs/pxeboot/config
|
|
# /var/lib/tftpboot/livecd/ubuntu/ubuntu-12.04-i386 138.231.136.0/21(async,no_subtree_check,no_root_squash,ro)
|
|
for type in $UBUNTU_LIVE_TYPE; do
|
|
echo "########## Netboot $type ##########"
|
|
for dist in $UBUNTU_LIVE; do
|
|
for arch in $UBUNTU_LIVE_ARCHS; do
|
|
if test -e $ISODIR/ubuntu/$type-$dist-desktop-$arch.iso; then
|
|
echo "$TFTPROOT/livecd/ubuntu/$type-$dist-$arch 138.231.136.0/21(async,no_subtree_check,no_root_squash,ro,insecure)"
|
|
fi
|
|
done
|
|
done
|
|
echo
|
|
done
|
|
|
|
/etc/init.d/nfs-kernel-server start
|