diff options
author | kelvin <xiubuzhe@sina.com> | 2023-12-21 02:04:31 +0800 |
---|---|---|
committer | kelvin <xiubuzhe@sina.com> | 2023-12-21 02:04:31 +0800 |
commit | f232a9316a0ebb281af1f9d8e0d261fcca658c24 (patch) | |
tree | 98dc4b3fa852f539ad3cdc4be9cf17a8b9a43976 /share/pxeboot/kickstart/r8_min.conf | |
parent | 689ae7255b5d2958aba47f7c406394396ad482ea (diff) | |
download | sunhpc-f232a9316a0ebb281af1f9d8e0d261fcca658c24.tar.gz sunhpc-f232a9316a0ebb281af1f9d8e0d261fcca658c24.tar.bz2 sunhpc-f232a9316a0ebb281af1f9d8e0d261fcca658c24.zip |
add pxe files
Diffstat (limited to 'share/pxeboot/kickstart/r8_min.conf')
-rwxr-xr-x | share/pxeboot/kickstart/r8_min.conf | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/share/pxeboot/kickstart/r8_min.conf b/share/pxeboot/kickstart/r8_min.conf new file mode 100755 index 0000000..5b56f51 --- /dev/null +++ b/share/pxeboot/kickstart/r8_min.conf @@ -0,0 +1,41 @@ +#version=RHEL8 +# Use graphical install +graphical + +url --url="http://ipaddress/redhat/r8" + +lang en_US.UTF-8 +keyboard --xlayouts='us' +firstboot --enable +selinux --disabled +timezone Asia/Shanghai --isUtc --nontp +skipx + +zerombr +bootloader --location=mbr +clearpart --all --initlabel +part /boot --fstype="ext4" --size=1024 +part swap --fstype="swap" --size=4096 +part / --fstype="xfs" --grow + +rootpw --plaintext 123456 +reboot + +%post --interpreter=/usr/bin/bash +useradd admin +echo 123456 | passwd --stdin admin +sed -i 's/^#PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config +%end + +%packages +@^minimal-environment +%end + +%addon com_redhat_kdump --disable --reserve-mb='auto' +%end + +%anaconda +pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty +pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok +pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty +%end |