ssh propagate alert message fix
we now switched to systemd, 'service kdump propagate' does not work anymore. update the alert message to use 'kdumpctl propagate' vivek: update kexec-kdump-howto.txt as well. Signed-off-by: Dave Young <dyoung@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
parent
6520b8f245
commit
f75f34b8a9
2
kdumpctl
2
kdumpctl
@ -246,7 +246,7 @@ function check_ssh_target()
|
|||||||
ssh -q -i $SSH_KEY_LOCATION -o BatchMode=yes $DUMP_TARGET mkdir -p $SAVE_PATH
|
ssh -q -i $SSH_KEY_LOCATION -o BatchMode=yes $DUMP_TARGET mkdir -p $SAVE_PATH
|
||||||
_ret=$?
|
_ret=$?
|
||||||
if [ $_ret -ne 0 ]; then
|
if [ $_ret -ne 0 ]; then
|
||||||
echo "Could not create $DUMP_TARGET:$SAVE_PATH, you probably need to run \"service kdump propagate\""
|
echo "Could not create $DUMP_TARGET:$SAVE_PATH, you probably need to run \"kdumpctl propagate\""
|
||||||
exit $_ret
|
exit $_ret
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -381,8 +381,8 @@ name or IP address of the target system. Using a dedicated, restricted user
|
|||||||
account on the target system is recommended, as there will be keyless ssh
|
account on the target system is recommended, as there will be keyless ssh
|
||||||
access to this account.
|
access to this account.
|
||||||
|
|
||||||
Once kdump.conf is appropriately configured, issue the command '/sbin/service
|
Once kdump.conf is appropriately configured, issue the command
|
||||||
kdump propagate' to automatically set up the ssh host keys and transmit
|
'kdumpctl propagate' to automatically set up the ssh host keys and transmit
|
||||||
the necessary bits to the target server. You'll have to type in 'yes'
|
the necessary bits to the target server. You'll have to type in 'yes'
|
||||||
to accept the host key for your targer server if this is the first time
|
to accept the host key for your targer server if this is the first time
|
||||||
you've connected to it, and then input the target system user's password
|
you've connected to it, and then input the target system user's password
|
||||||
|
Loading…
Reference in New Issue
Block a user