2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Merge pull request #6478 from gurevichmark/testcase_kdump_at_install

linux_diskless_kdump testcase enhancement
This commit is contained in:
cxhong 2019-11-12 15:36:04 -05:00 committed by GitHub
commit 028b76224b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,10 @@ check:output=~\d\d:\d\d:\d\d
cmd:xdsh $$CN "echo 'echo 1 > /proc/sys/kernel/sysrq; echo c > /proc/sysrq-trigger' > /tmp/kdump.trigger"
cmd:xdsh $$CN "chmod 755 /tmp/kdump.trigger"
cmd:xdsh $$CN "rpm -q at"
# at package should have been installed during provisioning.
# If it is still missing, install it with "yum install"
cmd:a=`xdsh $$CN rpm -q at`;if [[ $a =~ "package at is not installed" ]]; then xdsh $$CN yum install -y at; fi
cmd:xdsh $$CN "service atd start"
check:rc==0