summaryrefslogtreecommitdiffstats
path: root/share/pxeboot/kickstart/ks-example.conf
diff options
context:
space:
mode:
authorkelvin <xiubuzhe@sina.com>2023-12-21 02:04:31 +0800
committerkelvin <xiubuzhe@sina.com>2023-12-21 02:04:31 +0800
commitf232a9316a0ebb281af1f9d8e0d261fcca658c24 (patch)
tree98dc4b3fa852f539ad3cdc4be9cf17a8b9a43976 /share/pxeboot/kickstart/ks-example.conf
parent689ae7255b5d2958aba47f7c406394396ad482ea (diff)
downloadsunhpc-f232a9316a0ebb281af1f9d8e0d261fcca658c24.tar.gz
sunhpc-f232a9316a0ebb281af1f9d8e0d261fcca658c24.tar.bz2
sunhpc-f232a9316a0ebb281af1f9d8e0d261fcca658c24.zip
add pxe files
Diffstat (limited to 'share/pxeboot/kickstart/ks-example.conf')
-rwxr-xr-xshare/pxeboot/kickstart/ks-example.conf51
1 files changed, 51 insertions, 0 deletions
diff --git a/share/pxeboot/kickstart/ks-example.conf b/share/pxeboot/kickstart/ks-example.conf
new file mode 100755
index 0000000..1537500
--- /dev/null
+++ b/share/pxeboot/kickstart/ks-example.conf
@@ -0,0 +1,51 @@
+#version=RHEL8
+# Use graphical install
+graphical
+
+%packages
+@^graphical-server-environment
+@container-management
+@development
+@graphical-admin-tools
+@headless-management
+@infiniband
+@legacy-unix
+@network-file-system-client
+@performance
+@remote-desktop-clients
+@remote-system-management
+@rpm-development-tools
+@system-tools
+@web-server
+%end
+
+keyboard --xlayouts='us'
+lang en_US.UTF-8
+firstboot --enable
+selinux --disabled
+skipx
+timezone Asia/Shanghai --isUtc --nontp
+
+network --bootproto=dhcp --onboot=on --ipv6=auto
+network --hostname=compute.local
+clearpart --all --initlabel
+#part /boot --fstype="ext4" --size=1024
+#part swap --fstype="swap" --size=4096
+#part / --fstype="xfs" --grow
+autopart --type=lvm
+
+url --url="http://172.16.2.1/redhat/r8"
+#repo --name="AppStream" --baseurl=http://172.16.2.1/redhat/AppStream
+#repo --name="BaseOS" --baseurl=http://172.16.2.1/redhat/BaseOS
+
+rootpw --iscrypted $6$eT.sWNwV69wyvhaR$N5tY4rJn6Y2slOrwuejfUBq3MhC5SNe1gUfTSYmOACObwW4ckUK9fjkKwC9TgSPhwwlaGdbtn0EFg11TJmAbC1
+user --name=admin --password=$6$0WN9CulSREVORA0S$FVWh6tkvdncbmSrsNPEb13GwxnGnEOKZliZLdL2IdY5E/fzLB8QmZAmgxyHh6ElSjObUCTbDEJ0l9.wRCRrsU. --iscrypted --gecos="admin"
+
+%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