Rename FENCE_KDUMP_NODES to FENCE_KDUMP_NODES_FILE
Renames FENCE_KDUMP_NODES variable to FENCE_KDUMP_NODES_FILE to distinguish it from values read from fence_kdump_nodes option in kdump.conf (introduced in following patches). Bug-Url: https://bugzilla.redhat.com/1078134 Signed-off-by: Martin Perina <mperina@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
parent
98d4be908a
commit
48f4375f2e
@ -291,12 +291,12 @@ fence_kdump_notify()
|
|||||||
{
|
{
|
||||||
local nodes
|
local nodes
|
||||||
|
|
||||||
if [ -f $FENCE_KDUMP_NODES ]; then
|
if [ -f $FENCE_KDUMP_NODES_FILE ]; then
|
||||||
if [ -f $FENCE_KDUMP_CONFIG_FILE ]; then
|
if [ -f $FENCE_KDUMP_CONFIG_FILE ]; then
|
||||||
. $FENCE_KDUMP_CONFIG_FILE
|
. $FENCE_KDUMP_CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
read nodes < $FENCE_KDUMP_NODES
|
read nodes < $FENCE_KDUMP_NODES_FILE
|
||||||
$FENCE_KDUMP_SEND $FENCE_KDUMP_OPTS $nodes &
|
$FENCE_KDUMP_SEND $FENCE_KDUMP_OPTS $nodes &
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -442,7 +442,7 @@ kdump_check_fence_kdump () {
|
|||||||
done
|
done
|
||||||
echo
|
echo
|
||||||
|
|
||||||
echo "$nodes" > ${initdir}/$FENCE_KDUMP_NODES
|
echo "$nodes" > ${initdir}/$FENCE_KDUMP_NODES_FILE
|
||||||
dracut_install $FENCE_KDUMP_SEND
|
dracut_install $FENCE_KDUMP_SEND
|
||||||
dracut_install -o $FENCE_KDUMP_CONFIG_FILE
|
dracut_install -o $FENCE_KDUMP_CONFIG_FILE
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
FENCE_KDUMP_CONFIG_FILE="/etc/sysconfig/fence_kdump"
|
FENCE_KDUMP_CONFIG_FILE="/etc/sysconfig/fence_kdump"
|
||||||
FENCE_KDUMP_SEND="/usr/libexec/fence_kdump_send"
|
FENCE_KDUMP_SEND="/usr/libexec/fence_kdump_send"
|
||||||
FENCE_KDUMP_NODES="/etc/fence_kdump_nodes"
|
FENCE_KDUMP_NODES_FILE="/etc/fence_kdump_nodes"
|
||||||
|
|
||||||
is_ssh_dump_target()
|
is_ssh_dump_target()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user