New hook kickstart_floppy_create_hooks.
authorMartin Schwenke <martin@meltin.net>
Wed, 12 May 2010 04:24:58 +0000 (14:24 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 12 May 2010 04:24:58 +0000 (14:24 +1000)
Allows extra things to be done when creating kickstart floppy.

Signed-off-by: Martin Schwenke <martin@meltin.net>
autocluster

index 7811f8c03afd3f60eba141f753607413c5211e66..5b0e4f53dd38c2c6847c37d679fe9205670a1914 100755 (executable)
@@ -427,6 +427,9 @@ test_proxy() {
 }
 
 ###################
+
+kickstart_floppy_create_hooks=
+
 # create base image
 create_base() {
 
@@ -481,6 +484,9 @@ EOF
     cp tmp/ISO/isolinux/isolinux.bin tmp
     cp tmp/ISO/isolinux/vmlinuz tmp
     cp tmp/ISO/isolinux/initrd.img tmp
+
+    run_hooks kickstart_floppy_create_hooks
+
     umount tmp/ISO
     umount mnt