git.samba.org
/
tridge
/
autocluster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58e3f39
)
New hook kickstart_floppy_create_hooks.
author
Martin Schwenke
<martin@meltin.net>
Wed, 12 May 2010 04:24:58 +0000
(14:24 +1000)
committer
Martin 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
patch
|
blob
|
history
diff --git
a/autocluster
b/autocluster
index 7811f8c03afd3f60eba141f753607413c5211e66..5b0e4f53dd38c2c6847c37d679fe9205670a1914 100755
(executable)
--- a/
autocluster
+++ b/
autocluster
@@
-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