diff --git a/xCAT-server/share/xcat/install/sles/compute.sle15.tmpl b/xCAT-server/share/xcat/install/sles/compute.sle15.tmpl index 1ae096fc8..eeb0b96a3 100644 --- a/xCAT-server/share/xcat/install/sles/compute.sle15.tmpl +++ b/xCAT-server/share/xcat/install/sles/compute.sle15.tmpl @@ -9,7 +9,7 @@ false - true + false true @@ -74,6 +74,7 @@ onboot + true false diff --git a/xCAT-server/share/xcat/install/sles/service.sle15.pkglist b/xCAT-server/share/xcat/install/sles/service.sle15.pkglist index a2bf0e341..ed685cb5e 100644 --- a/xCAT-server/share/xcat/install/sles/service.sle15.pkglist +++ b/xCAT-server/share/xcat/install/sles/service.sle15.pkglist @@ -20,6 +20,5 @@ postgresql-server postgresql perl-DBD-mysql mariadb-client -#libmysqlclient18 vim wget diff --git a/xCAT-server/share/xcat/install/sles/service.sle15.tmpl b/xCAT-server/share/xcat/install/sles/service.sle15.tmpl index f91d1f5e5..eeb0b96a3 100644 --- a/xCAT-server/share/xcat/install/sles/service.sle15.tmpl +++ b/xCAT-server/share/xcat/install/sles/service.sle15.tmpl @@ -1,33 +1,16 @@ - + - - true - true - #XCATVAR:PERSKCMDLINE# - false - false - mbr + + true + - - UTC - #TABLE:site:key=timezone:value# - - - english-us - - en_US false - false - false - true + false - - non - true true @@ -35,6 +18,16 @@ true + + UTC + #TABLE:site:key=timezone:value# + + + english-us + + + en_US + @@ -46,22 +39,20 @@ - #INSTALL_SOURCES# + #INSTALL_SOURCES# - SLES + SLES #INCLUDE_DEFAULT_PTRNLIST_S# - #INCLUDE_DEFAULT_PKGLIST_S# + #INCLUDE_DEFAULT_PKGLIST_S# - - root @@ -72,10 +63,8 @@ - + true - true - local linux @@ -87,8 +76,7 @@ true - false - + false @@ -96,5 +84,4 @@ #INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/chroot.sles# #INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.sle# - diff --git a/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat b/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat index c4616f6de..4681fcb84 100644 --- a/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat +++ b/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_flat @@ -71,6 +71,9 @@ cmd:lsdef -l $$CN cmd:ping $$CN -c 3 check:rc==0 check:output=~64 bytes from $$CN +# Check node ends up in boot state +cmd:lsdef $$CN -i currstate -c +check:output==boot cmd:xdsh $$CN "cat /var/log/xcat/xcat.log" cmd:xdsh $$CN "cat /test.synclist" check:rc==0 diff --git a/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_hierarchy b/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_hierarchy index 7004e1c8c..2510820e1 100644 --- a/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_hierarchy +++ b/xCAT-test/autotest/testcase/installation/reg_linux_diskfull_installation_hierarchy @@ -58,11 +58,7 @@ check:output=~Provision node\(s\)\: $$CN cmd:xdsh $$SN "if [[ -f /var/lib/dhcp/db/dhcpd.leases ]]; then cat /var/lib/dhcp/db/dhcpd.leases; elif [[ -f /var/lib/dhcpd/dhcpd.leases ]];then cat /var/lib/dhcpd/dhcpd.leases;elif [[ -f /var/lib/dhcp/dhcpd.leases ]];then cat /var/lib/dhcp/dhcpd.leases; fi" cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc" ]]; then sleep 120;elif [[ "__GETNODEATTR($$CN,arch)__" =~ "x86_64" ]];then sleep 200;else sleep 180;fi -#cmd:lsdef -l $$CN | grep status -#check:rc==0 -#check:output!~booted - -cmd:ping $$CN -c 3 +ping $$CN -c 3 check:rc==0 check:output=~64 bytes from $$CN cmd:lsdef -l $$CN | grep status @@ -110,4 +106,8 @@ check:rc==0 # Verify the compute node timezone matches the site table timezone cmd:sitetz=`lsdef -t site -i timezone | awk -F= '{print $2}'`;nodetz=`xdsh $$CN "timedatectl | grep 'Time zone'" | awk -F: '{print $3}' | awk '{print $1}'`; test $sitetz = $nodetz check:rc==0 + +# Check node ends up in boot state +cmd:lsdef $$CN -i currstate -c +check:output==boot end