Displaying 1 result from an estimated 1 matches for "vendor_post_hook".
2009 Nov 16
3
[PATCH] Add support for vendor hooks during ovirt-early start()
...td_server collectd_port bootparams hostname firstboot"
# mount /config unless firstboot is forced
if [ "$firstboot" != "1" ]; then
mount_config
@@ -434,6 +453,10 @@ start() {
fi
fi
+ if [ -n "${vendor_script}" ]; then
+ vendor_post_hook
+ fi
+
return 0
}
diff --git a/scripts/ovirt-vendor.sample b/scripts/ovirt-vendor.sample
new file mode 100644
index 0000000..7a57ddd
--- /dev/null
+++ b/scripts/ovirt-vendor.sample
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+# This is a sample vendor script
+#
+# We need to provide two hook functio...