fi
}
+rhel_get_multipath_magic ()
+{
+ if [ ${RHEL_VERSION%%.*} -le 6 ] ; then
+ cat <<EOF
+ udev_dir /dev
+ getuid_callout "$SHARED_DISK_MULTIPATH_CALLOUT"
+EOF
+ fi
+}
+
rhel_post_config_hook ()
{
if [ "$ISO" = "@uto" ] ; then
if [ "$INSTALL_KS_DEVICE_TEMPLATE" = "@uto" ] ; then
INSTALL_KS_DEVICE_TEMPLATE=$(rhel_get_install_ks_device_xml) || exit $?
fi
+
+ if [ "$RHEL_MULTIPATH_MAGIC" = "@uto" ] ; then
+ RHEL_MULTIPATH_MAGIC=$(rhel_get_multipath_magic) || exit $?
+ fi
}
register_hook post_config_hooks rhel_post_config_hook
defconf RHEL_SERVICES "@uto"
+defconf RHEL_MULTIPATH_MAGIC "@uto"
+
defconf ISO_DIR "/virtual/ISO" \
"<dir>" "directory for ISO images, prepended to $ISO if not absolute"