2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 19:20:24 +00:00

Fix RH/C 7 kvm templates to add NM disable postscript

This commit is contained in:
Samveen Gulati
2018-09-11 05:03:15 +00:00
parent 0abda98260
commit 67a633361f
2 changed files with 11 additions and 7 deletions

View File

@@ -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

View File

@@ -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 <crypted MD5 password for GRUB>
#
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