mkisofs -v -V d4e2006 -r -J -l -L -P "http://d4e.at, support@d4e.at" -p "d4e Team Weiz, d4e@bgweiz.at" -b "boot/i386/loader/isolinux.bin" -c "boot/i386/loader/boot.cat" -no-emul-boot -boot-load-size 4 -boot-info-table -graft-points -o /d/d4edvd/dvdiso/d4e-2006-dvd.iso .
mkisofs -v -R -b boot/grub/stage2_eltorito -r -J -l -L -V d4e2008 -P "http://d4e.at, support@d4e.at" -p "d4e Team Peer Weiz, d4e@bgweiz.at" -no-emul-boot -boot-load-size 4 -boot-info-table -o ~/d4e2008.iso .
Folgende Skripte müssen ausgeführt werden:
Skript preload.sh
#!/bin/sh rm -f /etc/preload.d/Firefox rm -f /etc/preload.d/Gimp rm -f /etc/preload.d/Khelpcenter rm -f /etc/preload.d/Mozilla rm -f /etc/preload.d/OpenOffice rm -f /etc/preload.d/gdm # ktip und susegreeter loeschen rm -f /opt/kde3/share/autostart/{SUSEgreeter.desktop,ktip.desktop}
Skript mac.sh
#!/bin/sh hwinfo --network > hwnetwork cat hwnetwork | grep HW\ Address -m 1 > hwmac mac=`sed 's/ HW Address: //' hwmac` rm hwnetwork rm hwmac cp /etc/sysconfig/dhcpd /etc/sysconfig/dhcpd.bak sed '/DHCPD_INTERFACE=""/ c \DHCPD_INTERFACE="id-'$mac'"' /etc/sysconfig/dhcpd.bak > /etc/sysconfig/dhcpd rm -rf /etc/sysconfig/dhcpd.bak rcdhcpd restart
künftig in /etc/sysconfig/dhcpd
#!/bin/sh hwinfo --cdrom > cdrom cat cdrom | fgrep -e "Device File:" -e "Volume ID:" > cdrom1 cat cdrom1 | grep -n "Volume ID: \"DAS_LABEL_DES_MEDIUMS\"" | awk '{ print substr($0,1,1) }' > cdrom2 cat cdrom1 | head -n $((`cat cdrom2`-1)) | tail -n 1 | awk '{ print substr($0,16,100) }' > cdrom3 mkdir /dvdmnt mount `cat cdrom3` /dvdmnt rm cdrom cdrom1 cdrom2 cdrom3