cobbler/cobbler — pull request #115 by jimi1283 (2012-03-31 05:34:40+00:00)
Title: Fix for issue #105 - buildiso fails

Added a new option for buildiso: --mkisofs-opts, which allows specifying extra options to mkisofs
TODO: add input box to web interface for this option

Test output:

$ cobbler buildiso --iso=/data/isos/cobbler-test01.iso --systems=sl6test --tempdir=/data/buildiso --mkisofs-opts="-joliet-long"
task started: 2012-03-31_002917_buildiso
task started (id=Build Iso, time=Sat Mar 31 00:29:17 2012)
using/creating buildisodir: /data/buildiso
building tree for isolinux
copying miscellaneous files
processing system: sl6test
running: mkisofs -o /data/isos/cobbler-test01.iso -joliet-long -r -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -V Cobbler\ Install -R -J -T /data/buildiso
received on stdout:
received on stderr: I: -input-charset not specified, using utf-8 (detected in locale settings)
Size of boot image is 4 sectors -> No emulation
25.75% done, estimate finish Sat Mar 31 00:29:18 2012
51.41% done, estimate finish Sat Mar 31 00:29:18 2012
77.15% done, estimate finish Sat Mar 31 00:29:18 2012
Total translation table size: 4029
Total rockridge attributes bytes: 1320
Total directory bytes: 4096
Path table size(bytes): 40
Max brk space used 1a000
19456 extents written (38 MB)

ISO build complete
You may wish to delete: /data/buildiso
The output file is: /data/isos/cobbler-test01.iso
*** TASK COMPLETE ***