2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-12-03 07:37:05 +00:00

fix(xcat-core): template cases expect the old default postscripts

xcatconfig now puts configdhcpv6duid in the postscripts of xcatdefaults,
so a node made from a template inherits syslog,remoteshell,
configdhcpv6duid,syncfiles. Eight lsdef and mkdef checks still match
syslog,remoteshell,syncfiles. Four cases failed in xcat_pr_test on
559577a41: mkdef_template_cec_template_without_remainder,
mkdef_template_switch_template_without_attribute,
lsdef_template_switch_template and mkdef_node_with_a_node_template.

The checks now match the list that xcatconfig writes.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
This commit is contained in:
Daniel Hilst
2026-11-06 14:59:16 -03:00
parent 559577a410
commit 26742a8d36
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -249,9 +249,9 @@ check:output=~Object name\: switch-template
check:output=~groups=switch
check:output=~nodetype=switch
check:output=~postbootscripts\=otherpkgs
check:output=~postscripts\=syslog\,remoteshell\,syncfiles
check:output=~postscripts\=syslog\,remoteshell\,configdhcpv6duid\,syncfiles
check:output=~usercomment\=the switch definition template
check:output=~postscripts\=syslog\,remoteshell\,syncfiles
check:output=~postscripts\=syslog\,remoteshell\,configdhcpv6duid\,syncfiles
check:output=~ip\=OPTIONAL\:the ip address of the switch
check:output=~mac\=OPTIONAL\:the MAC address of the switch
check:output=~switchtype\=OPTIONAL\:The type of switch
+6 -6
View File
@@ -235,9 +235,9 @@ check:output=~Object name\: auto_test_node_1
check:output=~groups=switch
check:output=~nodetype=switch
check:output=~postbootscripts\=otherpkgs
check:output=~postscripts\=syslog\,remoteshell\,syncfiles
check:output=~postscripts\=syslog\,remoteshell\,configdhcpv6duid\,syncfiles
check:output=~usercomment\=the switch definition template
check:output=~postscripts\=syslog\,remoteshell\,syncfiles
check:output=~postscripts\=syslog\,remoteshell\,configdhcpv6duid\,syncfiles
check:output!=ip\=OPTIONAL\:the ip address of the switch
check:output!=mac\=OPTIONAL\:the MAC address of the switch
check:output!=switchtype\=
@@ -259,7 +259,7 @@ check:output=~hwtype\=cec
check:output=~mgt\=hmc
check:output=~nodetype\=ppc
check:output=~postbootscripts\=otherpkgs
check:output=~postscripts\=syslog\,remoteshell\,syncfiles
check:output=~postscripts\=syslog\,remoteshell\,configdhcpv6duid\,syncfiles
check:output=~usercomment\=the cec definition template
check:output=~hcp\=test
check:output=~mtm\=test
@@ -301,7 +301,7 @@ check:output=~hwtype\=cec
check:output=~mgt\=hmc
check:output=~nodetype\=ppc
check:output=~postbootscripts\=otherpkgs
check:output=~postscripts\=syslog\,remoteshell\,syncfiles
check:output=~postscripts\=syslog\,remoteshell\,configdhcpv6duid\,syncfiles
check:output=~usercomment\=the cec definition template
check:output=~hcp\=test2
check:output=~mtm\=test2
@@ -335,7 +335,7 @@ check:output=~hwtype\=cec
check:output=~mgt\=hmc
check:output=~nodetype\=ppc
check:output=~postbootscripts\=otherpkgs
check:output=~postscripts\=syslog\,remoteshell\,syncfiles
check:output=~postscripts\=syslog\,remoteshell\,configdhcpv6duid\,syncfiles
check:output=~usercomment\=the cec definition template
check:output=~hcp\=test
check:output=~mtm\=test
@@ -363,7 +363,7 @@ check:output=~hwtype\=cec
check:output=~mgt\=hmc
check:output=~nodetype\=ppc
check:output=~postbootscripts\=otherpkgs
check:output=~postscripts\=syslog\,remoteshell\,syncfiles
check:output=~postscripts\=syslog\,remoteshell\,configdhcpv6duid\,syncfiles
check:output=~usercomment\=the cec definition template
check:output=~hcp\=test2
check:output=~mtm\=test2