scripts/gestion/gen_confs/pxeboot/export_ubuntu_live
Daniel STAN f8387dddff export_ubuntu_live: ajoute option insecure
Pour passer le nat d'ytrap-llatsni et faire marcher le netboot.
2015-01-24 12:33:35 +01:00

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