diff --git a/xCAT-server/share/xcat/install/centos/kvm.centos7.tmpl b/xCAT-server/share/xcat/install/centos/kvm.centos7.tmpl index 17e6078c4..71da3c7c9 100644 --- a/xCAT-server/share/xcat/install/centos/kvm.centos7.tmpl +++ b/xCAT-server/share/xcat/install/centos/kvm.centos7.tmpl @@ -12,8 +12,6 @@ lang en_US %include /tmp/repos -#INSTALL_SOURCES# - #device ethernet e100 keyboard "us" @@ -25,8 +23,7 @@ zerombr # # Wipe out the disk # -# Clear partitioning via partitition file -#clearpart --all --initlabel +clearpart --all --initlabel #clearpart --linux # @@ -34,7 +31,7 @@ zerombr # #XCAT_PARTITION_START# -#Use script based partition table creation +# xCAT based partitioning %include /tmp/partitionfile #No RAID @@ -168,5 +165,6 @@ cat >> /var/log/xcat/xcat.log << "EOF" EOF echo "Running Kickstart Post-Installation script..." #INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.xcat# +#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.rhels7# } &>>/var/log/xcat/xcat.log %end diff --git a/xCAT-server/share/xcat/install/rh/kvm.rhels7.tmpl b/xCAT-server/share/xcat/install/rh/kvm.rhels7.tmpl index e4525740b..71da3c7c9 100644 --- a/xCAT-server/share/xcat/install/rh/kvm.rhels7.tmpl +++ b/xCAT-server/share/xcat/install/rh/kvm.rhels7.tmpl @@ -31,7 +31,7 @@ clearpart --all --initlabel # #XCAT_PARTITION_START# -#Use script based partition table creation +# xCAT based partitioning %include /tmp/partitionfile #No RAID @@ -77,7 +77,12 @@ clearpart --all --initlabel # --useLilo # --md5pass # -bootloader +#The bootloader config here is commented out +#For user customized partition file or partition script, +#the bootloader configuration should be specified in the user customized partition file/script +#For the xCAT default partition scheme, the bootloader configuration is in /tmp/partitionfile +#which is generated in %pre section +##KICKSTARTBOOTLOADER# # # install or upgrade @@ -160,5 +165,6 @@ cat >> /var/log/xcat/xcat.log << "EOF" EOF echo "Running Kickstart Post-Installation script..." #INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.xcat# +#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.rhels7# } &>>/var/log/xcat/xcat.log %end