diff options
Diffstat (limited to 'share/pxeboot')
-rw-r--r-- | share/pxeboot/default | 100 | ||||
-rw-r--r--[-rwxr-xr-x] | share/pxeboot/grubx64.efi | bin | 2211776 -> 2211776 bytes | |||
-rwxr-xr-x | share/pxeboot/kickstart/c7_gui.conf | 48 | ||||
-rwxr-xr-x | share/pxeboot/kickstart/c7_min.conf | 48 | ||||
-rwxr-xr-x | share/pxeboot/kickstart/ks-example.conf | 51 | ||||
-rwxr-xr-x | share/pxeboot/kickstart/r8_gui.conf | 54 | ||||
-rwxr-xr-x | share/pxeboot/kickstart/r8_min.conf | 41 | ||||
-rw-r--r-- | share/pxeboot/libcom32.c32 | bin | 0 -> 180668 bytes | |||
-rw-r--r-- | share/pxeboot/libutil.c32 | bin | 0 -> 22804 bytes | |||
-rw-r--r-- | share/pxeboot/lpxelinux.0 | bin | 74564 -> 0 bytes | |||
-rw-r--r-- | share/pxeboot/menu.c32 | bin | 0 -> 26272 bytes | |||
-rw-r--r--[-rwxr-xr-x] | share/pxeboot/shimx64.efi (renamed from share/pxeboot/BOOTX64.EFI) | bin | 944024 -> 944024 bytes | |||
-rw-r--r-- | share/pxeboot/vesamenu.c32 | bin | 0 -> 26788 bytes |
13 files changed, 342 insertions, 0 deletions
diff --git a/share/pxeboot/default b/share/pxeboot/default new file mode 100644 index 0000000..5cb0b92 --- /dev/null +++ b/share/pxeboot/default @@ -0,0 +1,100 @@ +default vesamenu.c32 +timeout 300 + +display boot.msg + +menu clear +menu background splash.png +menu title CentOS and Rocky Linux Install +menu vshift 8 +menu rows 18 +menu margin 8 +menu helpmsgrow 15 +menu tabmsgrow 13 + +menu color border * #00000000 #00000000 none +menu color sel 0 #ffffffff #00000000 none +menu color title 0 #ff7ba3d0 #00000000 none +menu color tabmsg 0 #ff3a6496 #00000000 none +menu color unsel 0 #84b8ffff #00000000 none +menu color hotsel 0 #84b8ffff #00000000 none +menu color hotkey 0 #ffffffff #00000000 none +menu color help 0 #ffffffff #00000000 none +menu color scrollbar 0 #ffffffff #ff355594 none +menu color timeout 0 #ffffffff #00000000 none +menu color timeout_msg 0 #ffffffff #00000000 none +menu color cmdmark 0 #84b8ffff #00000000 none +menu color cmdline 0 #ffffffff #00000000 none + +menu tabmsg Press Tab for full configuration options on menu items. +menu separator # insert an empty line +menu separator # insert an empty line + +menu begin Install CentOS 7 + menu title Install CentOS 7 + +label linux 7 + menu label ^Auto Install CentOS 7 (Minimal) + kernel c7/vmlinuz + append initrd=c7/initrd.img inst.ks=http://ipaddress/ksfile/c7_min.conf quiet net.ifnames=0 + +label linux 7 + menu label ^Auto Install CentOS 7 (^GUI) + kernel c7/vmlinuz + append initrd=c7/initrd.img inst.ks=http://ipaddress/ksfile/c7_gui.conf quiet net.ifnames=0 + +label linux 7 + menu label ^Manual Install CentOS 7 + kernel c7/vmlinuz + append initrd=c7/initrd.img inst.repo=http://ipaddress/redhat/c7 quiet net.ifnames=0 + +label linux 7 + menu indent count 5 + menu label ^Rescue CentOS 7 system + kernel c7/vmlinuz + append initrd=c7/initrd.img inst.repo=http://ipaddress/redhat/c7 rescue + +menu separator # insert an empty line +label returntomain + menu label Return to ^main menu + menu exit +menu end + +# Rockys options +menu begin Install Rocky 8 + menu title Install Rocky 8 + +label linux 8 + menu label ^Auto Install Rocky 8 (Minimal) + kernel r8/vmlinuz + append initrd=r8/initrd.img inst.ks=http://ipaddress/ksfile/r8_min.conf quiet net.ifnames=0 + +label linux 8 + menu label ^Auto Install Rocky 8 (^GUI) + kernel r8/vmlinuz + append initrd=r8/initrd.img inst.ks=http://ipaddress/ksfile/r8_gui.conf quiet net.ifnames=0 + +label linux 8 + menu label ^Manual Install Rocky 8 + kernel r8/vmlinuz + append initrd=r8/initrd.img inst.repo=http://ipaddress/redhat/r8 quiet net.ifnames=0 + +label linux 8 + menu indent count 5 + menu label ^Rescue Rocky 8 system + kernel r8/vmlinuz + append initrd=r8/initrd.img inst.repo=http://ipaddress/redhat/r8 rescue + +menu separator # insert an empty line +label returntomain + menu label Return to ^main menu + menu exit +menu end + +menu separator # insert an empty line +label local + menu default + menu label Boot from ^local drive + localboot 0xffff + +menu end diff --git a/share/pxeboot/grubx64.efi b/share/pxeboot/grubx64.efi Binary files differindex f80a8f1..f80a8f1 100755..100644 --- a/share/pxeboot/grubx64.efi +++ b/share/pxeboot/grubx64.efi diff --git a/share/pxeboot/kickstart/c7_gui.conf b/share/pxeboot/kickstart/c7_gui.conf new file mode 100755 index 0000000..09e1c83 --- /dev/null +++ b/share/pxeboot/kickstart/c7_gui.conf @@ -0,0 +1,48 @@ +#version=RHEL8 +# Use graphical install + +install +keyboard 'us' +lang zh_CN +text +skipx + +selinux --disabled +timezone Asia/Shanghai +auth --useshadow --passalgo=sha512 + +url --url="http://ipaddress/redhat/c7" +#autopart --type=lvm +zerombr +bootloader --location=mbr +clearpart --all --initlabel + +part /boot --fstype="ext4" --size=1024 +part swap --fstype="swap" --size=4096 +part / --fstype="xfs" --grow + +reboot +rootpw --plaintext 123456 + +%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 +@^infrastructure-server-environment +@base +@core +chrony +kexec-tools +%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 diff --git a/share/pxeboot/kickstart/c7_min.conf b/share/pxeboot/kickstart/c7_min.conf new file mode 100755 index 0000000..09e1c83 --- /dev/null +++ b/share/pxeboot/kickstart/c7_min.conf @@ -0,0 +1,48 @@ +#version=RHEL8 +# Use graphical install + +install +keyboard 'us' +lang zh_CN +text +skipx + +selinux --disabled +timezone Asia/Shanghai +auth --useshadow --passalgo=sha512 + +url --url="http://ipaddress/redhat/c7" +#autopart --type=lvm +zerombr +bootloader --location=mbr +clearpart --all --initlabel + +part /boot --fstype="ext4" --size=1024 +part swap --fstype="swap" --size=4096 +part / --fstype="xfs" --grow + +reboot +rootpw --plaintext 123456 + +%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 +@^infrastructure-server-environment +@base +@core +chrony +kexec-tools +%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 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 diff --git a/share/pxeboot/kickstart/r8_gui.conf b/share/pxeboot/kickstart/r8_gui.conf new file mode 100755 index 0000000..f038d8d --- /dev/null +++ b/share/pxeboot/kickstart/r8_gui.conf @@ -0,0 +1,54 @@ +#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 +@^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 + +%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 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 diff --git a/share/pxeboot/libcom32.c32 b/share/pxeboot/libcom32.c32 Binary files differnew file mode 100644 index 0000000..05073d0 --- /dev/null +++ b/share/pxeboot/libcom32.c32 diff --git a/share/pxeboot/libutil.c32 b/share/pxeboot/libutil.c32 Binary files differnew file mode 100644 index 0000000..4e3fc36 --- /dev/null +++ b/share/pxeboot/libutil.c32 diff --git a/share/pxeboot/lpxelinux.0 b/share/pxeboot/lpxelinux.0 Binary files differdeleted file mode 100644 index 61e68c2..0000000 --- a/share/pxeboot/lpxelinux.0 +++ /dev/null diff --git a/share/pxeboot/menu.c32 b/share/pxeboot/menu.c32 Binary files differnew file mode 100644 index 0000000..d02fe78 --- /dev/null +++ b/share/pxeboot/menu.c32 diff --git a/share/pxeboot/BOOTX64.EFI b/share/pxeboot/shimx64.efi Binary files differindex 654424b..654424b 100755..100644 --- a/share/pxeboot/BOOTX64.EFI +++ b/share/pxeboot/shimx64.efi diff --git a/share/pxeboot/vesamenu.c32 b/share/pxeboot/vesamenu.c32 Binary files differnew file mode 100644 index 0000000..efca93d --- /dev/null +++ b/share/pxeboot/vesamenu.c32 |