mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	Merge pull request #7034 from peterwywong/service
compute.ol8.tmpl and compute.rocky.tmpl point to compute.rhels8.tmpl instead of having their own files
This commit is contained in:
		@@ -1,59 +0,0 @@
 | 
			
		||||
#version=OL8
 | 
			
		||||
# Use text install
 | 
			
		||||
text
 | 
			
		||||
# Use network installation
 | 
			
		||||
%include /tmp/repos
 | 
			
		||||
# Keyboard layouts
 | 
			
		||||
keyboard --vckeymap=us --xlayouts='us'
 | 
			
		||||
# System language
 | 
			
		||||
lang en_US.UTF-8
 | 
			
		||||
 | 
			
		||||
# Network information
 | 
			
		||||
#KICKSTARTNET#
 | 
			
		||||
# Root password
 | 
			
		||||
rootpw --iscrypted #CRYPT:passwd:key=system,username=root:password#
 | 
			
		||||
# Not run the Setup Agent on first boot
 | 
			
		||||
firstboot --disable
 | 
			
		||||
# Do not configure the X Window System
 | 
			
		||||
skipx
 | 
			
		||||
# System services
 | 
			
		||||
#services --enabled="chronyd"
 | 
			
		||||
# System timezone
 | 
			
		||||
timezone #TABLE:site:key=timezone:value# --isUtc
 | 
			
		||||
# Partition clearing information
 | 
			
		||||
zerombr
 | 
			
		||||
clearpart --all --initlabel
 | 
			
		||||
#XCAT_PARTITION_START#
 | 
			
		||||
%include /tmp/partitionfile
 | 
			
		||||
#XCAT_PARTITION_END#
 | 
			
		||||
 | 
			
		||||
# Do not configure any iptables rules
 | 
			
		||||
firewall --disable
 | 
			
		||||
selinux --disable
 | 
			
		||||
reboot
 | 
			
		||||
 | 
			
		||||
%packages
 | 
			
		||||
#INCLUDE_DEFAULT_PKGLIST#
 | 
			
		||||
 | 
			
		||||
%end
 | 
			
		||||
 | 
			
		||||
%anaconda
 | 
			
		||||
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
 | 
			
		||||
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
 | 
			
		||||
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
 | 
			
		||||
%end
 | 
			
		||||
%pre
 | 
			
		||||
{
 | 
			
		||||
echo "Running Kickstart Pre-installation script..."
 | 
			
		||||
#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/pre.rhels8#
 | 
			
		||||
} &>>/tmp/pre-install.log
 | 
			
		||||
%end
 | 
			
		||||
%post --interpreter=/bin/bash
 | 
			
		||||
mkdir -p /var/log/xcat/
 | 
			
		||||
cat /tmp/pre-install.log >>/var/log/xcat/xcat.log
 | 
			
		||||
{
 | 
			
		||||
echo "Running Kickstart Post-installation script..."
 | 
			
		||||
#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.xcat.ng#
 | 
			
		||||
#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.rhels8#
 | 
			
		||||
} &>>/var/log/xcat/xcat.log
 | 
			
		||||
%end
 | 
			
		||||
							
								
								
									
										1
									
								
								xCAT-server/share/xcat/install/ol/compute.ol8.tmpl
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								xCAT-server/share/xcat/install/ol/compute.ol8.tmpl
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
../rh/compute.rhels8.tmpl
 | 
			
		||||
@@ -1,4 +1,3 @@
 | 
			
		||||
#version=RHEL8
 | 
			
		||||
# Use text install
 | 
			
		||||
text
 | 
			
		||||
# Use network installation
 | 
			
		||||
 
 | 
			
		||||
@@ -1,59 +0,0 @@
 | 
			
		||||
#version=Rocky8
 | 
			
		||||
# Use text install
 | 
			
		||||
text
 | 
			
		||||
# Use network installation
 | 
			
		||||
%include /tmp/repos
 | 
			
		||||
# Keyboard layouts
 | 
			
		||||
keyboard --vckeymap=us --xlayouts='us'
 | 
			
		||||
# System language
 | 
			
		||||
lang en_US.UTF-8
 | 
			
		||||
 | 
			
		||||
# Network information
 | 
			
		||||
#KICKSTARTNET#
 | 
			
		||||
# Root password
 | 
			
		||||
rootpw --iscrypted #CRYPT:passwd:key=system,username=root:password#
 | 
			
		||||
# Not run the Setup Agent on first boot
 | 
			
		||||
firstboot --disable
 | 
			
		||||
# Do not configure the X Window System
 | 
			
		||||
skipx
 | 
			
		||||
# System services
 | 
			
		||||
#services --enabled="chronyd"
 | 
			
		||||
# System timezone
 | 
			
		||||
timezone #TABLE:site:key=timezone:value# --isUtc
 | 
			
		||||
# Partition clearing information
 | 
			
		||||
zerombr
 | 
			
		||||
clearpart --all --initlabel
 | 
			
		||||
#XCAT_PARTITION_START#
 | 
			
		||||
%include /tmp/partitionfile
 | 
			
		||||
#XCAT_PARTITION_END#
 | 
			
		||||
 | 
			
		||||
# Do not configure any iptables rules
 | 
			
		||||
firewall --disable
 | 
			
		||||
selinux --disable
 | 
			
		||||
reboot
 | 
			
		||||
 | 
			
		||||
%packages
 | 
			
		||||
#INCLUDE_DEFAULT_PKGLIST#
 | 
			
		||||
 | 
			
		||||
%end
 | 
			
		||||
 | 
			
		||||
%anaconda
 | 
			
		||||
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
 | 
			
		||||
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
 | 
			
		||||
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
 | 
			
		||||
%end
 | 
			
		||||
%pre
 | 
			
		||||
{
 | 
			
		||||
echo "Running Kickstart Pre-installation script..."
 | 
			
		||||
#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/pre.rhels8#
 | 
			
		||||
} &>>/tmp/pre-install.log
 | 
			
		||||
%end
 | 
			
		||||
%post --interpreter=/bin/bash
 | 
			
		||||
mkdir -p /var/log/xcat/
 | 
			
		||||
cat /tmp/pre-install.log >>/var/log/xcat/xcat.log
 | 
			
		||||
{
 | 
			
		||||
echo "Running Kickstart Post-installation script..."
 | 
			
		||||
#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.xcat.ng#
 | 
			
		||||
#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.rhels8#
 | 
			
		||||
} &>>/var/log/xcat/xcat.log
 | 
			
		||||
%end
 | 
			
		||||
							
								
								
									
										1
									
								
								xCAT-server/share/xcat/install/rocky/compute.rocky8.tmpl
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								xCAT-server/share/xcat/install/rocky/compute.rocky8.tmpl
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
../rh/compute.rhels8.tmpl
 | 
			
		||||
		Reference in New Issue
	
	Block a user