Commit Graph

13 Commits

Author SHA1 Message Date
Dave Young
7a2ab0af8c variable name fix
Resolves: bz807649

$need_dns should be $_need_dns
[v1->v2]: ChaoWang: quote "$_need_dns"
2012-04-11 19:28:53 +08:00
Dave Young
985fcae6ec get ip addr with getent
Build kdump image will fail when kdump.conf has net option with a host name
instead of ip address.

Handle this just as what we do in rhel6: use getent to get the ip addr.

Signed-off-by: Dave Young <dyoung@redhat.com>
2012-03-30 11:31:48 +08:00
Dave Young
ba0aa24316 Add ssh dump support
Add ssh dump support

changes including below items:
1. sshkey option
2. sshkey propagate
3. fix a bug of  _server ip calculation for dump target string
4. change the prefix of kdump hook from 93 to 01 to avoid dhclient and
   other cleanups happening before us
5. enable network with dracut cmdline rd.neednet=1 when there's network
   target config

[v1 - v2]:
Only check_ssh_target when there's ssh dump target in kdump config file

[v2 -> v3]
style fixes: trailing spaces and space before tab indent
remove set -x
simply check_ssh_target
use awk to get sshkey option value
change pivot hook order to 0000

Signed-off-by: Dave Young <dyoung@redhat.com>
2012-02-22 14:12:57 +08:00
Cong Wang
481cb83cfd Add initial NFS dump support, experimental 2012-01-27 22:59:43 +08:00
Cong Wang
c461ec7057 Fix various bugs for nfs dump 2012-01-25 16:58:35 +08:00
wangcong
005c06fa9f Update kdump dracut module to use the latest dracut feature 2011-12-16 14:21:02 +08:00
Amerigo Wang
b9f39e444a mkdumprd: install modified kdump.conf in initrd 2011-08-02 16:42:21 +08:00
Amerigo Wang
9ea3801214 mkdumprd: handle lvm in pre-pivot hook 2011-08-02 14:00:50 +08:00
Amerigo Wang
7a4f7d02be mkdumprd: fix udev rules in modules-setup.sh 2011-08-02 00:33:14 +08:00
Amerigo Wang
1ec4f7b1b4 mkdumprd: generate udev rules in modules-setup.sh 2011-08-01 23:40:35 +08:00
Amerigo Wang
386612d259 mkdumprd: generate udev rules to handle device names 2011-08-01 22:53:00 +08:00
Amerigo Wang
1048810fe0 mkdumprd: fix dump to local filesystem and raw dump 2011-08-01 20:01:31 +08:00
Amerigo Wang
c5ebc6337d mkdumprd: move module inclusion code to module-setup.sh 2011-08-01 17:19:24 +08:00