flatten specific images, fix vagrant template
This commit is contained in:
parent
6f1d80059d
commit
036f69602e
@ -1,88 +1,56 @@
|
|||||||
text
|
#version=DEVEL
|
||||||
|
# Keyboard layouts
|
||||||
|
keyboard 'us'
|
||||||
|
# Root password
|
||||||
|
rootpw --iscrypted thereisnopasswordanditslocked
|
||||||
|
# System language
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
keyboard us
|
# Shutdown after installation
|
||||||
timezone UTC --utc
|
shutdown
|
||||||
# Disk
|
# System timezone
|
||||||
bootloader --append="rootdelay=300 console=ttyS0 earlyprintk=ttyS0 no_timer_check crashkernel=auto net.ifnames=0" --location=mbr --timeout=1
|
timezone UTC --isUtc
|
||||||
|
# Use text mode install
|
||||||
|
text
|
||||||
|
# Network information
|
||||||
|
network --bootproto=dhcp --device=link --activate
|
||||||
|
# Use network installation
|
||||||
|
url --url="https://download.rockylinux.org/stg/rocky/9/BaseOS/$basearch/os/"
|
||||||
|
# System authorization information
|
||||||
auth --enableshadow --passalgo=sha512
|
auth --enableshadow --passalgo=sha512
|
||||||
selinux --enforcing
|
# Firewall configuration
|
||||||
firewall --enabled --service=ssh
|
firewall --enabled --service=ssh
|
||||||
firstboot --disable
|
firstboot --disable
|
||||||
# Network information
|
# SELinux configuration
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
selinux --enforcing
|
||||||
# Root password
|
|
||||||
services --disabled="kdump" --enabled="NetworkManager,sshd,rsyslog,chronyd,cloud-init,cloud-init-local,cloud-config,cloud-final,rngd,waagent"
|
|
||||||
rootpw --iscrypted thereisnopasswordanditslocked
|
|
||||||
|
|
||||||
# Partition Stuff
|
# System services
|
||||||
|
services --disabled="kdump,rhsmcertd" --enabled="NetworkManager,sshd,rsyslog,chronyd,cloud-init,cloud-init-local,cloud-config,cloud-final,rngd"
|
||||||
|
# System bootloader configuration
|
||||||
|
bootloader --append="rootdelay=300 console=ttyS0 earlyprintk=ttyS0 no_timer_check crashkernel=auto net.ifnames=0" --location=mbr --timeout=1
|
||||||
|
# Clear the Master Boot Record
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --all --initlabel
|
# Partition clearing information
|
||||||
part /boot --fstype xfs --size 1024 --asprimary --ondisk vda
|
clearpart --all --initlabel --disklabel=gpt
|
||||||
part /boot/efi --fstype vfat --size 512 --asprimary --ondisk vda
|
# Disk partitioning information
|
||||||
reqpart
|
part prepboot --asprimary --fstype="prepboot" --size=4
|
||||||
part / --fstype="xfs" --mkfsoptions "-m bigtime=0,inobtcount=0" --ondisk=vda --size=3000
|
part biosboot --asprimary --fstype="biosboot" --size=1
|
||||||
shutdown
|
part /boot/efi --asprimary --fstype="efi" --size=100
|
||||||
|
part /boot --asprimary --fstype="xfs" --size=1000 --label=boot
|
||||||
%packages
|
part / --fstype="xfs" --size=8000 --mkfsoptions="-m bigtime=0,inobtcount=0"
|
||||||
@core
|
|
||||||
rocky-release
|
|
||||||
kernel
|
|
||||||
yum-utils
|
|
||||||
-aic94xx-firmware
|
|
||||||
-alsa-firmware
|
|
||||||
-alsa-lib
|
|
||||||
-alsa-tools-firmware
|
|
||||||
-ivtv-firmware
|
|
||||||
-iwl1000-firmware
|
|
||||||
-iwl100-firmware
|
|
||||||
-iwl105-firmware
|
|
||||||
-iwl135-firmware
|
|
||||||
-iwl2000-firmware
|
|
||||||
-iwl2030-firmware
|
|
||||||
-iwl3160-firmware
|
|
||||||
-iwl3945-firmware
|
|
||||||
-iwl4965-firmware
|
|
||||||
-iwl5000-firmware
|
|
||||||
-iwl5150-firmware
|
|
||||||
-iwl6000-firmware
|
|
||||||
-iwl6000g2a-firmware
|
|
||||||
-iwl6000g2b-firmware
|
|
||||||
-iwl6050-firmware
|
|
||||||
-iwl7260-firmware
|
|
||||||
-libertas-sd8686-firmware
|
|
||||||
-libertas-sd8787-firmware
|
|
||||||
-libertas-usb8388-firmware
|
|
||||||
|
|
||||||
cloud-init
|
|
||||||
cloud-utils-growpart
|
|
||||||
gdisk
|
|
||||||
dracut-config-generic
|
|
||||||
grub2
|
|
||||||
firewalld
|
|
||||||
|
|
||||||
# some stuff that's missing from core or explicitly setting
|
|
||||||
tar
|
|
||||||
rsync
|
|
||||||
dhcp-client
|
|
||||||
NetworkManager
|
|
||||||
rng-tools
|
|
||||||
dnf-utils
|
|
||||||
chrony
|
|
||||||
WALinuxAgent
|
|
||||||
hyperv-daemons
|
|
||||||
|
|
||||||
-biosdevname
|
|
||||||
-plymouth
|
|
||||||
-iprutils
|
|
||||||
-langpacks-*
|
|
||||||
-langpacks-en
|
|
||||||
-qemu-guest-agent
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post --erroronfail
|
%post --erroronfail
|
||||||
passwd -d root
|
passwd -d root
|
||||||
passwd -l root
|
passwd -l root
|
||||||
|
|
||||||
|
# Attempting to force legacy BIOS boot if we boot from UEFI
|
||||||
|
if [ "$(arch)" = "x86_64" ]; then
|
||||||
|
dnf install grub2-pc-modules grub2-pc -y
|
||||||
|
grub2-install --target=i386-pc /dev/vda
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Ensure that the pmbr_boot flag is off
|
||||||
|
parted /dev/vda disk_set pmbr_boot off
|
||||||
|
|
||||||
# Common Cloud Tweaks
|
# Common Cloud Tweaks
|
||||||
# setup systemd to boot to the right runlevel
|
# setup systemd to boot to the right runlevel
|
||||||
rm -f /etc/systemd/system/default.target
|
rm -f /etc/systemd/system/default.target
|
||||||
@ -230,4 +198,55 @@ true
|
|||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%packages
|
||||||
|
@core
|
||||||
|
NetworkManager
|
||||||
|
WALinuxAgent
|
||||||
|
chrony
|
||||||
|
cloud-init
|
||||||
|
cloud-utils-growpart
|
||||||
|
dhcp-client
|
||||||
|
dnf-utils
|
||||||
|
dracut-config-generic
|
||||||
|
firewalld
|
||||||
|
gdisk
|
||||||
|
grub2
|
||||||
|
hyperv-daemons
|
||||||
|
kernel
|
||||||
|
rng-tools
|
||||||
|
rocky-release
|
||||||
|
rsync
|
||||||
|
tar
|
||||||
|
yum-utils
|
||||||
|
-aic94xx-firmware
|
||||||
|
-alsa-firmware
|
||||||
|
-alsa-lib
|
||||||
|
-alsa-tools-firmware
|
||||||
|
-biosdevname
|
||||||
|
-iprutils
|
||||||
|
-ivtv-firmware
|
||||||
|
-iwl100-firmware
|
||||||
|
-iwl1000-firmware
|
||||||
|
-iwl105-firmware
|
||||||
|
-iwl135-firmware
|
||||||
|
-iwl2000-firmware
|
||||||
|
-iwl2030-firmware
|
||||||
|
-iwl3160-firmware
|
||||||
|
-iwl3945-firmware
|
||||||
|
-iwl4965-firmware
|
||||||
|
-iwl5000-firmware
|
||||||
|
-iwl5150-firmware
|
||||||
|
-iwl6000-firmware
|
||||||
|
-iwl6000g2a-firmware
|
||||||
|
-iwl6000g2b-firmware
|
||||||
|
-iwl6050-firmware
|
||||||
|
-iwl7260-firmware
|
||||||
|
-langpacks-*
|
||||||
|
-langpacks-en
|
||||||
|
-libertas-sd8686-firmware
|
||||||
|
-libertas-sd8787-firmware
|
||||||
|
-libertas-usb8388-firmware
|
||||||
|
-plymouth
|
||||||
|
-qemu-guest-agent
|
||||||
|
|
||||||
|
%end
|
||||||
|
@ -1,90 +1,58 @@
|
|||||||
text
|
#version=DEVEL
|
||||||
|
# Keyboard layouts
|
||||||
|
keyboard 'us'
|
||||||
|
# Root password
|
||||||
|
rootpw --iscrypted thereisnopasswordanditslocked
|
||||||
|
# System language
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
keyboard us
|
# Shutdown after installation
|
||||||
timezone UTC --utc
|
shutdown
|
||||||
# Disk
|
# System timezone
|
||||||
bootloader --append="rootdelay=300 console=ttyS0 earlyprintk=ttyS0 no_timer_check crashkernel=auto net.ifnames=0" --location=mbr --timeout=1
|
timezone UTC --isUtc
|
||||||
|
# Use text mode install
|
||||||
|
text
|
||||||
|
# Network information
|
||||||
|
network --bootproto=dhcp --device=link --activate
|
||||||
|
# Use network installation
|
||||||
|
url --url="https://download.rockylinux.org/stg/rocky/9/BaseOS/$basearch/os/"
|
||||||
|
# System authorization information
|
||||||
auth --enableshadow --passalgo=sha512
|
auth --enableshadow --passalgo=sha512
|
||||||
selinux --enforcing
|
# Firewall configuration
|
||||||
firewall --enabled --service=ssh
|
firewall --enabled --service=ssh
|
||||||
firstboot --disable
|
firstboot --disable
|
||||||
# Network information
|
# SELinux configuration
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
selinux --enforcing
|
||||||
# Root password
|
|
||||||
services --disabled="kdump" --enabled="NetworkManager,sshd,rsyslog,chronyd,cloud-init,cloud-init-local,cloud-config,cloud-final,rngd,waagent"
|
|
||||||
rootpw --iscrypted thereisnopasswordanditslocked
|
|
||||||
|
|
||||||
# Partition Stuff
|
# System services
|
||||||
|
services --disabled="kdump,rhsmcertd" --enabled="NetworkManager,sshd,rsyslog,chronyd,cloud-init,cloud-init-local,cloud-config,cloud-final,rngd"
|
||||||
|
# System bootloader configuration
|
||||||
|
bootloader --append="rootdelay=300 console=ttyS0 earlyprintk=ttyS0 no_timer_check crashkernel=auto net.ifnames=0" --location=mbr --timeout=1
|
||||||
|
# Clear the Master Boot Record
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --all --initlabel
|
# Partition clearing information
|
||||||
part /boot --fstype xfs --size 1024 --asprimary --ondisk vda
|
clearpart --all --initlabel --disklabel=gpt
|
||||||
part /boot/efi --fstype vfat --size 512 --asprimary --ondisk vda
|
# Disk partitioning information
|
||||||
reqpart
|
part prepboot --asprimary --fstype="prepboot" --size=4
|
||||||
part pv.01 --size=1 --ondisk=vda --grow
|
part biosboot --asprimary --fstype="biosboot" --size=1
|
||||||
|
part /boot/efi --asprimary --fstype="efi" --size=100
|
||||||
|
part /boot --asprimary --fstype="xfs" --size=1000 --label=boot
|
||||||
|
part pv.01 --grow --ondisk=vda --size=1
|
||||||
volgroup rocky pv.01
|
volgroup rocky pv.01
|
||||||
logvol / --vgname=rocky --size=8000 --name=root --grow --mkfsoptions "-m bigtime=0,inobtcount=0"
|
logvol / --grow --size=8000 --mkfsoptions="-m bigtime=0,inobtcount=0" --name=root --vgname=rocky
|
||||||
shutdown
|
|
||||||
|
|
||||||
%packages
|
|
||||||
@core
|
|
||||||
rocky-release
|
|
||||||
kernel
|
|
||||||
yum-utils
|
|
||||||
-aic94xx-firmware
|
|
||||||
-alsa-firmware
|
|
||||||
-alsa-lib
|
|
||||||
-alsa-tools-firmware
|
|
||||||
-ivtv-firmware
|
|
||||||
-iwl1000-firmware
|
|
||||||
-iwl100-firmware
|
|
||||||
-iwl105-firmware
|
|
||||||
-iwl135-firmware
|
|
||||||
-iwl2000-firmware
|
|
||||||
-iwl2030-firmware
|
|
||||||
-iwl3160-firmware
|
|
||||||
-iwl3945-firmware
|
|
||||||
-iwl4965-firmware
|
|
||||||
-iwl5000-firmware
|
|
||||||
-iwl5150-firmware
|
|
||||||
-iwl6000-firmware
|
|
||||||
-iwl6000g2a-firmware
|
|
||||||
-iwl6000g2b-firmware
|
|
||||||
-iwl6050-firmware
|
|
||||||
-iwl7260-firmware
|
|
||||||
-libertas-sd8686-firmware
|
|
||||||
-libertas-sd8787-firmware
|
|
||||||
-libertas-usb8388-firmware
|
|
||||||
|
|
||||||
cloud-init
|
|
||||||
cloud-utils-growpart
|
|
||||||
gdisk
|
|
||||||
dracut-config-generic
|
|
||||||
grub2
|
|
||||||
firewalld
|
|
||||||
|
|
||||||
# some stuff that's missing from core or explicitly setting
|
|
||||||
tar
|
|
||||||
rsync
|
|
||||||
dhcp-client
|
|
||||||
NetworkManager
|
|
||||||
rng-tools
|
|
||||||
dnf-utils
|
|
||||||
chrony
|
|
||||||
WALinuxAgent
|
|
||||||
hyperv-daemons
|
|
||||||
|
|
||||||
-biosdevname
|
|
||||||
-plymouth
|
|
||||||
-iprutils
|
|
||||||
-langpacks-*
|
|
||||||
-langpacks-en
|
|
||||||
-qemu-guest-agent
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post --erroronfail
|
%post --erroronfail
|
||||||
passwd -d root
|
passwd -d root
|
||||||
passwd -l root
|
passwd -l root
|
||||||
|
|
||||||
|
# Attempting to force legacy BIOS boot if we boot from UEFI
|
||||||
|
if [ "$(arch)" = "x86_64" ]; then
|
||||||
|
dnf install grub2-pc-modules grub2-pc -y
|
||||||
|
grub2-install --target=i386-pc /dev/vda
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Ensure that the pmbr_boot flag is off
|
||||||
|
parted /dev/vda disk_set pmbr_boot off
|
||||||
|
|
||||||
# Common Cloud Tweaks
|
# Common Cloud Tweaks
|
||||||
# setup systemd to boot to the right runlevel
|
# setup systemd to boot to the right runlevel
|
||||||
rm -f /etc/systemd/system/default.target
|
rm -f /etc/systemd/system/default.target
|
||||||
@ -232,4 +200,55 @@ true
|
|||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%packages
|
||||||
|
@core
|
||||||
|
NetworkManager
|
||||||
|
WALinuxAgent
|
||||||
|
chrony
|
||||||
|
cloud-init
|
||||||
|
cloud-utils-growpart
|
||||||
|
dhcp-client
|
||||||
|
dnf-utils
|
||||||
|
dracut-config-generic
|
||||||
|
firewalld
|
||||||
|
gdisk
|
||||||
|
grub2
|
||||||
|
hyperv-daemons
|
||||||
|
kernel
|
||||||
|
rng-tools
|
||||||
|
rocky-release
|
||||||
|
rsync
|
||||||
|
tar
|
||||||
|
yum-utils
|
||||||
|
-aic94xx-firmware
|
||||||
|
-alsa-firmware
|
||||||
|
-alsa-lib
|
||||||
|
-alsa-tools-firmware
|
||||||
|
-biosdevname
|
||||||
|
-iprutils
|
||||||
|
-ivtv-firmware
|
||||||
|
-iwl100-firmware
|
||||||
|
-iwl1000-firmware
|
||||||
|
-iwl105-firmware
|
||||||
|
-iwl135-firmware
|
||||||
|
-iwl2000-firmware
|
||||||
|
-iwl2030-firmware
|
||||||
|
-iwl3160-firmware
|
||||||
|
-iwl3945-firmware
|
||||||
|
-iwl4965-firmware
|
||||||
|
-iwl5000-firmware
|
||||||
|
-iwl5150-firmware
|
||||||
|
-iwl6000-firmware
|
||||||
|
-iwl6000g2a-firmware
|
||||||
|
-iwl6000g2b-firmware
|
||||||
|
-iwl6050-firmware
|
||||||
|
-iwl7260-firmware
|
||||||
|
-langpacks-*
|
||||||
|
-langpacks-en
|
||||||
|
-libertas-sd8686-firmware
|
||||||
|
-libertas-sd8787-firmware
|
||||||
|
-libertas-usb8388-firmware
|
||||||
|
-plymouth
|
||||||
|
-qemu-guest-agent
|
||||||
|
|
||||||
|
%end
|
||||||
|
108
Rocky-9-OCP.ks
108
Rocky-9-OCP.ks
@ -1,38 +1,56 @@
|
|||||||
text
|
#version=DEVEL
|
||||||
repo --name="BaseOS" --baseurl=http://dl.rockylinux.org/stg/rocky/9/BaseOS/$basearch/os/
|
# Keyboard layouts
|
||||||
repo --name="AppStream" --baseurl=http://dl.rockylinux.org/stg/rocky/9/AppStream/$basearch/os/
|
keyboard 'us'
|
||||||
|
# Root password
|
||||||
url --url http://dl.rockylinux.org/stg/rocky/9/BaseOS/$basearch/os/
|
rootpw --iscrypted thereisnopasswordanditslocked
|
||||||
|
|
||||||
auth --enableshadow --passalgo=sha512
|
|
||||||
reboot
|
|
||||||
firewall --enabled --service=ssh
|
|
||||||
firstboot --disable
|
|
||||||
ignoredisk --only-use=vda
|
|
||||||
keyboard us
|
|
||||||
# System language
|
# System language
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
# Network information
|
# Shutdown after installation
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
shutdown
|
||||||
network --hostname=localhost.localdomain
|
# System timezone
|
||||||
# Root password
|
|
||||||
rootpw --plaintext rocky
|
|
||||||
selinux --enforcing
|
|
||||||
services --disabled="kdump" --enabled="NetworkManager,sshd,rsyslog,chronyd,cloud-init,cloud-init-local,cloud-config,cloud-final,rngd"
|
|
||||||
timezone UTC --isUtc
|
timezone UTC --isUtc
|
||||||
# Disk
|
# Use text mode install
|
||||||
|
text
|
||||||
|
# Network information
|
||||||
|
network --bootproto=dhcp --device=link --activate
|
||||||
|
# Use network installation
|
||||||
|
url --url="https://download.rockylinux.org/stg/rocky/9/BaseOS/$basearch/os/"
|
||||||
|
# System authorization information
|
||||||
|
auth --enableshadow --passalgo=sha512
|
||||||
|
# Firewall configuration
|
||||||
|
firewall --enabled --service=ssh
|
||||||
|
firstboot --disable
|
||||||
|
# SELinux configuration
|
||||||
|
selinux --enforcing
|
||||||
|
|
||||||
|
# System services
|
||||||
|
services --disabled="kdump,rhsmcertd" --enabled="NetworkManager,sshd,rsyslog,chronyd,cloud-init,cloud-init-local,cloud-config,cloud-final,rngd"
|
||||||
|
# System bootloader configuration
|
||||||
bootloader --append="console=ttyS0,115200n8 console=tty0 no_timer_check crashkernel=auto net.ifnames=0 LANG=en_US.UTF-8 transparent_hugepage=never rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=rocky rd.lvm.lv=rocky/root rd.net.timeout.dhcp=10" --location=mbr --timeout=1 --boot-drive=vda
|
bootloader --append="console=ttyS0,115200n8 console=tty0 no_timer_check crashkernel=auto net.ifnames=0 LANG=en_US.UTF-8 transparent_hugepage=never rd.luks=0 rd.md=0 rd.dm=0 rd.lvm.vg=rocky rd.lvm.lv=rocky/root rd.net.timeout.dhcp=10" --location=mbr --timeout=1 --boot-drive=vda
|
||||||
|
# Clear the Master Boot Record
|
||||||
clearpart --all --initlabel --drives vda
|
zerombr
|
||||||
part /boot --fstype xfs --size 1024 --asprimary --ondisk vda
|
# Partition clearing information
|
||||||
part /boot/efi --fstype vfat --size 512 --asprimary --ondisk vda
|
clearpart --all --initlabel --disklabel=gpt
|
||||||
|
# Disk partitioning information
|
||||||
part pv.01 --ondisk=vda --size=1 --grow
|
part prepboot --asprimary --fstype="prepboot" --size=4
|
||||||
|
part biosboot --asprimary --fstype="biosboot" --size=1
|
||||||
|
part /boot/efi --asprimary --fstype="efi" --size=100
|
||||||
|
part /boot --asprimary --fstype="xfs" --size=1000 --label=boot
|
||||||
|
part pv.01 --grow --ondisk=vda --size=1
|
||||||
volgroup rocky pv.01
|
volgroup rocky pv.01
|
||||||
logvol / --vgname=rocky --size=3000 --name=root --grow
|
logvol / --grow --size=8000 --mkfsoptions="-m bigtime=0,inobtcount=0" --name=root --vgname=rocky
|
||||||
|
|
||||||
%post --erroronfail
|
%post --erroronfail
|
||||||
|
|
||||||
|
# Attempting to force legacy BIOS boot if we boot from UEFI
|
||||||
|
if [ "$(arch)" = "x86_64" ]; then
|
||||||
|
dnf install grub2-pc-modules grub2-pc -y
|
||||||
|
grub2-install --target=i386-pc /dev/vda
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Ensure that the pmbr_boot flag is off
|
||||||
|
parted /dev/vda disk_set pmbr_boot off
|
||||||
|
|
||||||
# setup systemd to boot to the right runlevel
|
# setup systemd to boot to the right runlevel
|
||||||
rm -f /etc/systemd/system/default.target
|
rm -f /etc/systemd/system/default.target
|
||||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||||
@ -238,26 +256,36 @@ true
|
|||||||
|
|
||||||
%packages
|
%packages
|
||||||
@core
|
@core
|
||||||
|
NetworkManager
|
||||||
chrony
|
chrony
|
||||||
dnf
|
|
||||||
yum
|
|
||||||
cloud-init
|
cloud-init
|
||||||
cloud-utils-growpart
|
cloud-utils-growpart
|
||||||
NetworkManager
|
cockpit-system
|
||||||
|
cockpit-ws
|
||||||
|
dhcp-client
|
||||||
|
dnf
|
||||||
|
dnf-utils
|
||||||
dracut-config-generic
|
dracut-config-generic
|
||||||
firewalld
|
firewalld
|
||||||
gdisk
|
gdisk
|
||||||
grub2
|
grub2
|
||||||
|
iscsi-initiator-utils
|
||||||
kernel
|
kernel
|
||||||
nfs-utils
|
nfs-utils
|
||||||
|
python3-jsonschema
|
||||||
|
qemu-guest-agent
|
||||||
|
rng-tools
|
||||||
|
rocky-release
|
||||||
rsync
|
rsync
|
||||||
tar
|
tar
|
||||||
dnf-utils
|
yum
|
||||||
yum-utils
|
yum-utils
|
||||||
-aic94xx-firmware
|
-aic94xx-firmware
|
||||||
-alsa-firmware
|
-alsa-firmware
|
||||||
-alsa-lib
|
-alsa-lib
|
||||||
-alsa-tools-firmware
|
-alsa-tools-firmware
|
||||||
|
-biosdevname
|
||||||
|
-iprutils
|
||||||
-ivtv-firmware
|
-ivtv-firmware
|
||||||
-iwl100-firmware
|
-iwl100-firmware
|
||||||
-iwl1000-firmware
|
-iwl1000-firmware
|
||||||
@ -275,25 +303,11 @@ yum-utils
|
|||||||
-iwl6000g2b-firmware
|
-iwl6000g2b-firmware
|
||||||
-iwl6050-firmware
|
-iwl6050-firmware
|
||||||
-iwl7260-firmware
|
-iwl7260-firmware
|
||||||
|
-langpacks-*
|
||||||
|
-langpacks-en
|
||||||
-libertas-sd8686-firmware
|
-libertas-sd8686-firmware
|
||||||
-libertas-sd8787-firmware
|
-libertas-sd8787-firmware
|
||||||
-libertas-usb8388-firmware
|
-libertas-usb8388-firmware
|
||||||
-biosdevname
|
|
||||||
-iprutils
|
|
||||||
-plymouth
|
-plymouth
|
||||||
|
|
||||||
python3-jsonschema
|
|
||||||
qemu-guest-agent
|
|
||||||
dhcp-client
|
|
||||||
cockpit-ws
|
|
||||||
cockpit-system
|
|
||||||
-langpacks-*
|
|
||||||
-langpacks-en
|
|
||||||
|
|
||||||
|
|
||||||
iscsi-initiator-utils
|
|
||||||
|
|
||||||
rocky-release
|
|
||||||
rng-tools
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
@ -1,64 +1,37 @@
|
|||||||
text
|
#version=DEVEL
|
||||||
keyboard --vckeymap us
|
# Keyboard layouts
|
||||||
lang en_US
|
keyboard --vckeymap=us
|
||||||
skipx
|
# Root password
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
|
||||||
rootpw --plaintext vagrant
|
rootpw --plaintext vagrant
|
||||||
firewall --disabled
|
# System language
|
||||||
timezone --utc UTC
|
lang en_US
|
||||||
services --enabled=vmtoolsd
|
# Shutdown after installation
|
||||||
# The biosdevname and ifnames options ensure we get "eth0" as our interface
|
|
||||||
# even in environments like virtualbox that emulate a real NW card
|
|
||||||
bootloader --timeout=1 --append="no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop"
|
|
||||||
zerombr
|
|
||||||
clearpart --all --initlabel
|
|
||||||
reqpart
|
|
||||||
part / --fstype=xfs --asprimary --size=1024 --grow
|
|
||||||
|
|
||||||
user --name=vagrant --plaintext --password=vagrant
|
|
||||||
|
|
||||||
shutdown
|
shutdown
|
||||||
|
user --name=vagrant --password=vagrant
|
||||||
|
# System timezone
|
||||||
|
timezone UTC --isUtc
|
||||||
|
# Use text mode install
|
||||||
|
text
|
||||||
|
# Network information
|
||||||
|
network --bootproto=dhcp --device=link --activate
|
||||||
|
# Use network installation
|
||||||
|
url --url="https://download.rockylinux.org/stg/rocky/9/BaseOS/$basearch/os/"
|
||||||
|
# Firewall configuration
|
||||||
|
firewall --disabled
|
||||||
|
# Do not configure the X Window System
|
||||||
|
skipx
|
||||||
|
|
||||||
%packages --inst-langs=en
|
# System services
|
||||||
bash-completion
|
services --enabled="vmtoolsd"
|
||||||
man-pages
|
# System bootloader configuration
|
||||||
bzip2
|
bootloader --append="no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop" --location=mbr --timeout=1
|
||||||
rsync
|
reqpart
|
||||||
nfs-utils
|
# Clear the Master Boot Record
|
||||||
cifs-utils
|
zerombr
|
||||||
chrony
|
# Partition clearing information
|
||||||
yum-utils
|
clearpart --all --initlabel
|
||||||
hyperv-daemons
|
# Disk partitioning information
|
||||||
open-vm-tools
|
part / --asprimary --fstype="xfs" --grow --size=1024
|
||||||
# Vagrant boxes aren't normally visible, no need for Plymouth
|
|
||||||
-plymouth
|
|
||||||
# Microcode updates cannot work in a VM
|
|
||||||
-microcode_ctl
|
|
||||||
# Firmware packages are not needed in a VM
|
|
||||||
-iwl100-firmware
|
|
||||||
-iwl1000-firmware
|
|
||||||
-iwl105-firmware
|
|
||||||
-iwl135-firmware
|
|
||||||
-iwl2000-firmware
|
|
||||||
-iwl2030-firmware
|
|
||||||
-iwl3160-firmware
|
|
||||||
-iwl3945-firmware
|
|
||||||
-iwl4965-firmware
|
|
||||||
-iwl5000-firmware
|
|
||||||
-iwl5150-firmware
|
|
||||||
-iwl6000-firmware
|
|
||||||
-iwl6000g2a-firmware
|
|
||||||
-iwl6050-firmware
|
|
||||||
-iwl7260-firmware
|
|
||||||
# Don't build rescue initramfs
|
|
||||||
-dracut-config-rescue
|
|
||||||
%end
|
|
||||||
|
|
||||||
# kdump needs to reserve 160MB + 2bits/4kB RAM, and automatic allocation only
|
|
||||||
# works on systems with at least 2GB RAM (which excludes most Vagrant boxes)
|
|
||||||
# CBS doesn't support %addon yet https://bugs.centos.org/view.php?id=12169
|
|
||||||
%addon com_redhat_kdump --disable
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# configure swap to a file
|
# configure swap to a file
|
||||||
@ -151,3 +124,37 @@ rm -rf /etc/ssh/ssh_host_*
|
|||||||
hostnamectl set-hostname localhost.localdomain
|
hostnamectl set-hostname localhost.localdomain
|
||||||
rm -rf /etc/udev/rules.d/70-*
|
rm -rf /etc/udev/rules.d/70-*
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%addon com_redhat_kdump --disable
|
||||||
|
%end
|
||||||
|
%packages --instLangs=en
|
||||||
|
bash-completion
|
||||||
|
bzip2
|
||||||
|
chrony
|
||||||
|
cifs-utils
|
||||||
|
hyperv-daemons
|
||||||
|
man-pages
|
||||||
|
nfs-utils
|
||||||
|
open-vm-tools
|
||||||
|
rsync
|
||||||
|
yum-utils
|
||||||
|
-dracut-config-rescue
|
||||||
|
-iwl100-firmware
|
||||||
|
-iwl1000-firmware
|
||||||
|
-iwl105-firmware
|
||||||
|
-iwl135-firmware
|
||||||
|
-iwl2000-firmware
|
||||||
|
-iwl2030-firmware
|
||||||
|
-iwl3160-firmware
|
||||||
|
-iwl3945-firmware
|
||||||
|
-iwl4965-firmware
|
||||||
|
-iwl5000-firmware
|
||||||
|
-iwl5150-firmware
|
||||||
|
-iwl6000-firmware
|
||||||
|
-iwl6000g2a-firmware
|
||||||
|
-iwl6050-firmware
|
||||||
|
-iwl7260-firmware
|
||||||
|
-microcode_ctl
|
||||||
|
-plymouth
|
||||||
|
|
||||||
|
%end
|
||||||
|
@ -1,63 +1,37 @@
|
|||||||
text
|
#version=DEVEL
|
||||||
keyboard --vckeymap us
|
# Keyboard layouts
|
||||||
lang en_US
|
keyboard --vckeymap=us
|
||||||
skipx
|
# Root password
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
|
||||||
rootpw --plaintext vagrant
|
rootpw --plaintext vagrant
|
||||||
firewall --disabled
|
# System language
|
||||||
timezone --utc UTC
|
lang en_US
|
||||||
services --enabled=vmtoolsd
|
# Shutdown after installation
|
||||||
# The biosdevname and ifnames options ensure we get "eth0" as our interface
|
|
||||||
# even in environments like virtualbox that emulate a real NW card
|
|
||||||
bootloader --timeout=1 --append="no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop"
|
|
||||||
zerombr
|
|
||||||
clearpart --all --initlabel
|
|
||||||
reqpart
|
|
||||||
part / --fstype=xfs --asprimary --size=1024 --grow
|
|
||||||
|
|
||||||
user --name=vagrant --plaintext --password=vagrant
|
|
||||||
|
|
||||||
shutdown
|
shutdown
|
||||||
|
user --name=vagrant --password=vagrant
|
||||||
|
# System timezone
|
||||||
|
timezone UTC --isUtc
|
||||||
|
# Use text mode install
|
||||||
|
text
|
||||||
|
# Network information
|
||||||
|
network --bootproto=dhcp --device=link --activate
|
||||||
|
# Use network installation
|
||||||
|
url --url="https://download.rockylinux.org/stg/rocky/9/BaseOS/$basearch/os/"
|
||||||
|
# Firewall configuration
|
||||||
|
firewall --disabled
|
||||||
|
# Do not configure the X Window System
|
||||||
|
skipx
|
||||||
|
|
||||||
%packages --inst-langs=en
|
# System services
|
||||||
bash-completion
|
services --enabled="vmtoolsd"
|
||||||
man-pages
|
# System bootloader configuration
|
||||||
bzip2
|
bootloader --append="no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop" --location=mbr --timeout=1
|
||||||
rsync
|
reqpart
|
||||||
nfs-utils
|
# Clear the Master Boot Record
|
||||||
cifs-utils
|
zerombr
|
||||||
chrony
|
# Partition clearing information
|
||||||
yum-utils
|
clearpart --all --initlabel
|
||||||
open-vm-tools
|
# Disk partitioning information
|
||||||
# Vagrant boxes aren't normally visible, no need for Plymouth
|
part / --asprimary --fstype="xfs" --grow --size=1024
|
||||||
-plymouth
|
|
||||||
# Microcode updates cannot work in a VM
|
|
||||||
-microcode_ctl
|
|
||||||
# Firmware packages are not needed in a VM
|
|
||||||
-iwl100-firmware
|
|
||||||
-iwl1000-firmware
|
|
||||||
-iwl105-firmware
|
|
||||||
-iwl135-firmware
|
|
||||||
-iwl2000-firmware
|
|
||||||
-iwl2030-firmware
|
|
||||||
-iwl3160-firmware
|
|
||||||
-iwl3945-firmware
|
|
||||||
-iwl4965-firmware
|
|
||||||
-iwl5000-firmware
|
|
||||||
-iwl5150-firmware
|
|
||||||
-iwl6000-firmware
|
|
||||||
-iwl6000g2a-firmware
|
|
||||||
-iwl6050-firmware
|
|
||||||
-iwl7260-firmware
|
|
||||||
# Don't build rescue initramfs
|
|
||||||
-dracut-config-rescue
|
|
||||||
%end
|
|
||||||
|
|
||||||
# kdump needs to reserve 160MB + 2bits/4kB RAM, and automatic allocation only
|
|
||||||
# works on systems with at least 2GB RAM (which excludes most Vagrant boxes)
|
|
||||||
# CBS doesn't support %addon yet https://bugs.centos.org/view.php?id=12169
|
|
||||||
%addon com_redhat_kdump --disable
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# configure swap to a file
|
# configure swap to a file
|
||||||
@ -140,3 +114,36 @@ rm -rf /etc/ssh/ssh_host_*
|
|||||||
hostnamectl set-hostname localhost.localdomain
|
hostnamectl set-hostname localhost.localdomain
|
||||||
rm -rf /etc/udev/rules.d/70-*
|
rm -rf /etc/udev/rules.d/70-*
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%addon com_redhat_kdump --disable
|
||||||
|
%end
|
||||||
|
%packages --instLangs=en
|
||||||
|
bash-completion
|
||||||
|
bzip2
|
||||||
|
chrony
|
||||||
|
cifs-utils
|
||||||
|
man-pages
|
||||||
|
nfs-utils
|
||||||
|
open-vm-tools
|
||||||
|
rsync
|
||||||
|
yum-utils
|
||||||
|
-dracut-config-rescue
|
||||||
|
-iwl100-firmware
|
||||||
|
-iwl1000-firmware
|
||||||
|
-iwl105-firmware
|
||||||
|
-iwl135-firmware
|
||||||
|
-iwl2000-firmware
|
||||||
|
-iwl2030-firmware
|
||||||
|
-iwl3160-firmware
|
||||||
|
-iwl3945-firmware
|
||||||
|
-iwl4965-firmware
|
||||||
|
-iwl5000-firmware
|
||||||
|
-iwl5150-firmware
|
||||||
|
-iwl6000-firmware
|
||||||
|
-iwl6000g2a-firmware
|
||||||
|
-iwl6050-firmware
|
||||||
|
-iwl7260-firmware
|
||||||
|
-microcode_ctl
|
||||||
|
-plymouth
|
||||||
|
|
||||||
|
%end
|
||||||
|
@ -1,64 +1,37 @@
|
|||||||
text
|
#version=DEVEL
|
||||||
keyboard --vckeymap us
|
# Keyboard layouts
|
||||||
lang en_US
|
keyboard --vckeymap=us
|
||||||
skipx
|
# Root password
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
|
||||||
rootpw --plaintext vagrant
|
rootpw --plaintext vagrant
|
||||||
firewall --disabled
|
# System language
|
||||||
timezone --utc UTC
|
lang en_US
|
||||||
services --enabled=vmtoolsd
|
# Reboot after installation
|
||||||
# The biosdevname and ifnames options ensure we get "eth0" as our interface
|
|
||||||
# even in environments like virtualbox that emulate a real NW card
|
|
||||||
bootloader --timeout=1 --append="no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop"
|
|
||||||
zerombr
|
|
||||||
clearpart --all --initlabel
|
|
||||||
reqpart
|
|
||||||
part / --fstype=xfs --asprimary --size=1024 --grow
|
|
||||||
|
|
||||||
user --name=vagrant --plaintext --password=vagrant
|
|
||||||
|
|
||||||
reboot
|
reboot
|
||||||
|
user --name=vagrant --password=vagrant
|
||||||
|
# System timezone
|
||||||
|
timezone UTC --isUtc
|
||||||
|
# Use text mode install
|
||||||
|
text
|
||||||
|
# Network information
|
||||||
|
network --bootproto=dhcp --device=link --activate
|
||||||
|
# Use network installation
|
||||||
|
url --url="https://download.rockylinux.org/stg/rocky/9/BaseOS/$basearch/os/"
|
||||||
|
# Firewall configuration
|
||||||
|
firewall --disabled
|
||||||
|
# Do not configure the X Window System
|
||||||
|
skipx
|
||||||
|
|
||||||
%packages --inst-langs=en
|
# System services
|
||||||
bash-completion
|
services --enabled="vmtoolsd"
|
||||||
man-pages
|
# System bootloader configuration
|
||||||
bzip2
|
bootloader --append="no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop" --location=mbr --timeout=1
|
||||||
rsync
|
reqpart
|
||||||
nfs-utils
|
# Clear the Master Boot Record
|
||||||
cifs-utils
|
zerombr
|
||||||
chrony
|
# Partition clearing information
|
||||||
yum-utils
|
clearpart --all --initlabel
|
||||||
hyperv-daemons
|
# Disk partitioning information
|
||||||
open-vm-tools
|
part / --asprimary --fstype="xfs" --grow --size=1024
|
||||||
# Vagrant boxes aren't normally visible, no need for Plymouth
|
|
||||||
-plymouth
|
|
||||||
# Microcode updates cannot work in a VM
|
|
||||||
-microcode_ctl
|
|
||||||
# Firmware packages are not needed in a VM
|
|
||||||
-iwl100-firmware
|
|
||||||
-iwl1000-firmware
|
|
||||||
-iwl105-firmware
|
|
||||||
-iwl135-firmware
|
|
||||||
-iwl2000-firmware
|
|
||||||
-iwl2030-firmware
|
|
||||||
-iwl3160-firmware
|
|
||||||
-iwl3945-firmware
|
|
||||||
-iwl4965-firmware
|
|
||||||
-iwl5000-firmware
|
|
||||||
-iwl5150-firmware
|
|
||||||
-iwl6000-firmware
|
|
||||||
-iwl6000g2a-firmware
|
|
||||||
-iwl6050-firmware
|
|
||||||
-iwl7260-firmware
|
|
||||||
# Don't build rescue initramfs
|
|
||||||
-dracut-config-rescue
|
|
||||||
%end
|
|
||||||
|
|
||||||
# kdump needs to reserve 160MB + 2bits/4kB RAM, and automatic allocation only
|
|
||||||
# works on systems with at least 2GB RAM (which excludes most Vagrant boxes)
|
|
||||||
# CBS doesn't support %addon yet https://bugs.centos.org/view.php?id=12169
|
|
||||||
%addon com_redhat_kdump --disable
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# configure swap to a file
|
# configure swap to a file
|
||||||
@ -165,3 +138,37 @@ rm -rf /etc/ssh/ssh_host_*
|
|||||||
hostnamectl set-hostname localhost.localdomain
|
hostnamectl set-hostname localhost.localdomain
|
||||||
rm -rf /etc/udev/rules.d/70-*
|
rm -rf /etc/udev/rules.d/70-*
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%addon com_redhat_kdump --disable
|
||||||
|
%end
|
||||||
|
%packages --instLangs=en
|
||||||
|
bash-completion
|
||||||
|
bzip2
|
||||||
|
chrony
|
||||||
|
cifs-utils
|
||||||
|
hyperv-daemons
|
||||||
|
man-pages
|
||||||
|
nfs-utils
|
||||||
|
open-vm-tools
|
||||||
|
rsync
|
||||||
|
yum-utils
|
||||||
|
-dracut-config-rescue
|
||||||
|
-iwl100-firmware
|
||||||
|
-iwl1000-firmware
|
||||||
|
-iwl105-firmware
|
||||||
|
-iwl135-firmware
|
||||||
|
-iwl2000-firmware
|
||||||
|
-iwl2030-firmware
|
||||||
|
-iwl3160-firmware
|
||||||
|
-iwl3945-firmware
|
||||||
|
-iwl4965-firmware
|
||||||
|
-iwl5000-firmware
|
||||||
|
-iwl5150-firmware
|
||||||
|
-iwl6000-firmware
|
||||||
|
-iwl6000g2a-firmware
|
||||||
|
-iwl6050-firmware
|
||||||
|
-iwl7260-firmware
|
||||||
|
-microcode_ctl
|
||||||
|
-plymouth
|
||||||
|
|
||||||
|
%end
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
%packages --inst-langs=en
|
%packages --instLangs=en
|
||||||
bash-completion
|
bash-completion
|
||||||
man-pages
|
man-pages
|
||||||
bzip2
|
bzip2
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
%packages --inst-langs=en
|
%packages --instLangs=en
|
||||||
bash-completion
|
bash-completion
|
||||||
man-pages
|
man-pages
|
||||||
bzip2
|
bzip2
|
||||||
|
Loading…
Reference in New Issue
Block a user