forked from infra/ansible
kickstarts / aarch64 / rhel10 / bvmhost-a64-01.stg
Add a 6 nvme rhel10 kickstart for aarch64 machines. Set bvmhost-a64-01.stg to use it's 10G interface for provisioning now. (I fixed it to allow pxe booting). Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
ce89bf1cc9
commit
3066851c81
3 changed files with 108 additions and 6 deletions
|
|
@ -1137,12 +1137,11 @@ host ocp03 {
|
|||
option routers 10.16.163.254;
|
||||
option subnet-mask 255.255.255.0;
|
||||
}
|
||||
# These are for aarch64 boxes to initially provision on their 1g interfaces
|
||||
host bvmhost-a64-01-provision {
|
||||
hardware ethernet d8:5e:d3:e6:20:b0;
|
||||
fixed-address 10.16.163.150;
|
||||
host bvmhost-a64-01-stg {
|
||||
hardware ethernet b8:ce:f6:51:56:c4;
|
||||
fixed-address 10.16.167.16;
|
||||
next-server 10.16.163.10;
|
||||
option routers 10.16.163.254;
|
||||
option routers 10.16.167.254;
|
||||
option subnet-mask 255.255.255.0;
|
||||
}
|
||||
host bvmhost-a64-02-provision {
|
||||
|
|
|
|||
|
|
@ -10,6 +10,8 @@
|
|||
- kvm-rhel-8
|
||||
- hardware-rhel-9-08disk
|
||||
- hardware-rhel-9-06disk
|
||||
- hardware-rhel-9-06disk-aarch64
|
||||
- hardware-rhel-10-06disk-aarch64
|
||||
- hardware-rhel-10-08disk
|
||||
- hardware-rhel-10-nodisk
|
||||
- hardware-fedora-01disk-nvme
|
||||
|
|
@ -18,7 +20,6 @@
|
|||
- hardware-fedora-06disk-nvme
|
||||
- hardware-fedora-ppc64le-02disk
|
||||
- hardware-fedora-ppc64le-08disk
|
||||
- hardware-rhel-9-06disk-aarch64
|
||||
- openqa-fedora-08disk
|
||||
tags:
|
||||
- config
|
||||
|
|
|
|||
102
roles/kickstarts/templates/hardware-rhel-10-06disk-aarch64.j2
Normal file
102
roles/kickstarts/templates/hardware-rhel-10-06disk-aarch64.j2
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
# Use network installation
|
||||
vnc --password "{{ kickstart_vnc_password }}"
|
||||
# Use network install
|
||||
url --url=http://infrastructure.fedoraproject.org/repo/rhel/RHEL10-aarch64/
|
||||
repo --name=epel --baseurl=http://infrastructure.fedoraproject.org/pub/epel/10/Everything/aarch64/
|
||||
repo --name="net-baseos" --baseurl=http://infrastructure.fedoraproject.org/repo/rhel/rhel10/10/repos/aarch64/baseos/
|
||||
repo --name="net-appstream" --baseurl=http://infrastructure.fedoraproject.org/repo/rhel/rhel10/10/repos/aarch64/appstream/
|
||||
repo --name="net-crb" --baseurl=http://infrastructure.fedoraproject.org/repo/rhel/rhel10/10/repos/aarch64/crb/
|
||||
|
||||
# Firewall configuration
|
||||
firewall --disabled
|
||||
firstboot --disable
|
||||
ignoredisk --only-use=nvme0n1,nvme1n1,nvme2n1,nvme3n1,nvme4n1,nvme5n1
|
||||
# Keyboard layouts
|
||||
# old format: keyboard us
|
||||
# new format:
|
||||
keyboard --vckeymap=us --xlayouts=''
|
||||
# System language
|
||||
lang en_US.UTF-8
|
||||
|
||||
# Network information
|
||||
# Reboot after installation
|
||||
reboot
|
||||
# Root password
|
||||
rootpw --iscrypted "{{ kickstart_initial_password_encrypted }}"
|
||||
# SELinux configuration
|
||||
selinux --enforcing
|
||||
# System services
|
||||
services --disabled="firewalld,kdump" --enabled="postfix,rsyslog,chronyd"
|
||||
# Do not configure the X Window System
|
||||
skipx
|
||||
# System timezone
|
||||
timezone UTC --utc
|
||||
# System bootloader configuration
|
||||
bootloader --location=mbr --boot-drive=nvme0n1 --append="net.ifnames=0" --driveorder=nvme0n1,nvme1n1,nvme2n1,nvme3n1,nvme4n1,nvme5n1
|
||||
zerombr
|
||||
clearpart --drives=nvme0n1,nvme1n1,nvme2n1,nvme3n1,nvme4n1,nvme5n1 --all --initlabel
|
||||
|
||||
# Disk partitioning information
|
||||
part raid.200 --fstype="mdmember" --ondisk=nvme0n1 --size=1000
|
||||
part raid.210 --fstype="mdmember" --ondisk=nvme1n1 --size=1000
|
||||
part raid.220 --fstype="mdmember" --ondisk=nvme2n1 --size=1000
|
||||
part raid.230 --fstype="mdmember" --ondisk=nvme3n1 --size=1000
|
||||
part raid.240 --fstype="mdmember" --ondisk=nvme4n1 --size=1000
|
||||
part raid.250 --fstype="mdmember" --ondisk=nvme5n1 --size=1000
|
||||
part raid.300 --fstype="mdmember" --ondisk=nvme0n1 --size=477
|
||||
part raid.310 --fstype="mdmember" --ondisk=nvme1n1 --size=477
|
||||
part raid.320 --fstype="mdmember" --ondisk=nvme2n1 --size=477
|
||||
part raid.330 --fstype="mdmember" --ondisk=nvme3n1 --size=477
|
||||
part raid.340 --fstype="mdmember" --ondisk=nvme4n1 --size=477
|
||||
part raid.350 --fstype="mdmember" --ondisk=nvme5n1 --size=477
|
||||
part raid.400 --fstype="mdmember" --ondisk=nvme0n1 --size=65536 --grow
|
||||
part raid.410 --fstype="mdmember" --ondisk=nvme1n1 --size=65536 --grow
|
||||
part raid.420 --fstype="mdmember" --ondisk=nvme2n1 --size=65536 --grow
|
||||
part raid.430 --fstype="mdmember" --ondisk=nvme3n1 --size=65536 --grow
|
||||
part raid.440 --fstype="mdmember" --ondisk=nvme4n1 --size=65536 --grow
|
||||
part raid.450 --fstype="mdmember" --ondisk=nvme5n1 --size=65536 --grow
|
||||
|
||||
raid /boot --device=0 --fstype="ext4" --level=RAID1 raid.200 raid.210 raid.220 raid.230 raid.240 raid.250
|
||||
raid /boot/efi --device=1 --fstype="efi" --level=RAID1 --fsoptions="umask=0077,shortname=winnt" raid.300 raid.310 raid.320 raid.330 raid.340 raid.350
|
||||
raid pv.610 --device=2 --fstype="lvmpv" --level=RAID6 --encrypted --passphrase="{{ luks_initial_password }}" --chunksize=512 raid.400 raid.410 raid.420 raid.430 raid.440 raid.450
|
||||
|
||||
volgroup vg_guests --pesize=4096 pv.610
|
||||
|
||||
logvol / --fstype="xfs" --size=32768 --name=LogVol00 --vgname=vg_guests
|
||||
logvol swap --fstype="swap" --size=8192 --name=LogVol01 --vgname=vg_guests
|
||||
|
||||
%packages
|
||||
-geolite2-city
|
||||
-iwl*firmware
|
||||
-subscription-manager
|
||||
bash-completion
|
||||
bind-utils
|
||||
clevis*
|
||||
cronie-noanacron
|
||||
crontabs
|
||||
grubby
|
||||
iptables-services
|
||||
nfs-utils
|
||||
nmap-ncat
|
||||
openssh-clients
|
||||
openssh-server
|
||||
patch
|
||||
postfix
|
||||
rsync
|
||||
screen
|
||||
strace
|
||||
s-nail
|
||||
tmpwatch
|
||||
tmux
|
||||
traceroute
|
||||
vim-enhanced
|
||||
zsh
|
||||
-insights-client
|
||||
-rhc
|
||||
%end
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/root/post.output --erroronfail
|
||||
mkdir /mnt/sysimage/root/tmp
|
||||
chroot /mnt/sysimage /usr/bin/curl https://infrastructure.fedoraproject.org/rhel/ks/post/rhel10-post.sh -o /root/tmp/rhel10-post.sh
|
||||
chroot /mnt/sysimage sh /root/tmp/rhel10-post.sh
|
||||
%end
|
||||
Loading…
Add table
Add a link
Reference in a new issue