updated recipes
This commit is contained in:
parent
644aa78f3f
commit
0a7298b95d
@ -27,7 +27,7 @@ url --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$rele
|
|||||||
# X Window System configuration information
|
# X Window System configuration information
|
||||||
xconfig --defaultdesktop=GNOME --startxonboot
|
xconfig --defaultdesktop=GNOME --startxonboot
|
||||||
# System bootloader configuration
|
# System bootloader configuration
|
||||||
bootloader --location=mbr --timeout=1
|
bootloader --location=none --timeout=1
|
||||||
# Clear the Master Boot Record
|
# Clear the Master Boot Record
|
||||||
zerombr
|
zerombr
|
||||||
# Partition clearing information
|
# Partition clearing information
|
||||||
@ -38,6 +38,14 @@ part / --size=8576
|
|||||||
|
|
||||||
%post --logfile=/mnt/sysimage/root/post.log
|
%post --logfile=/mnt/sysimage/root/post.log
|
||||||
|
|
||||||
|
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked.
|
||||||
|
dnf update -y # Update the system
|
||||||
|
grub2-mkconfig -o /boot/grub2/grub.cfg # Unsure it is actually useful
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post --logfile=/mnt/sysimage/root/post.log
|
||||||
|
|
||||||
# Enable livesys services
|
# Enable livesys services
|
||||||
systemctl enable livesys.service
|
systemctl enable livesys.service
|
||||||
systemctl enable livesys-late.service
|
systemctl enable livesys-late.service
|
||||||
@ -88,6 +96,13 @@ touch /etc/machine-id
|
|||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%post --logfile=/mnt/sysimage/root/post-live-session.log
|
||||||
|
|
||||||
|
# set livesys session type
|
||||||
|
sed -i 's/^livesys_session=.*/livesys_session="gnome"/' /etc/sysconfig/livesys
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
%post --nochroot --logfile=/mnt/sysimage/opt/base-initial-setup-gnome.log
|
%post --nochroot --logfile=/mnt/sysimage/opt/base-initial-setup-gnome.log
|
||||||
|
|
||||||
truncate -s 0 /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf # remove content of vendor.conf so that all options are made available
|
truncate -s 0 /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf # remove content of vendor.conf so that all options are made available
|
||||||
@ -264,24 +279,6 @@ mkdir /mnt/sysimage/var/lib/libvirt/isos # Create a directory to store iso image
|
|||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor-intelcpu.log
|
|
||||||
|
|
||||||
sed -i 's/\(quiet\)/\1 intel_iommu=on iommu=pt rd.driver.pre=vfio-pci/i' /mnt/sysimage/etc/default/grub # Load kernel modules in GRUB.
|
|
||||||
|
|
||||||
echo "options kvm_intel nested=1" >> /mnt/sysimage/etc/modprobe.d/kvm.conf # Add support for nested virtualization on Intel CPUs
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor-intelgpu.log
|
|
||||||
|
|
||||||
sed -i 's/\(vfio-pci\)/\1 i915.enable_gvt=1/i' /mnt/sysimage/etc/default/grub # Load kernel modules in grub.
|
|
||||||
|
|
||||||
# Load extra kernel modules to enable vfio-mdev on selected hardware
|
|
||||||
echo "kvmgt" > /mnt/sysimage/etc/modules-load.d/kvmgt.conf # Load specific kernel modules kvmgt and vfio-mdev, for Intel (tm) GVT-g and Nvidia (tm)
|
|
||||||
echo "vfio-mdev" > /mnt/sysimage/etc/modules-load.d/vfio-mdev.conf # Load specific kernel modules kvmgt and vfio-mdev, for Intel (tm) GVT-g and Nvidia (tm)
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%packages --exclude-weakdeps
|
%packages --exclude-weakdeps
|
||||||
@anaconda-tools
|
@anaconda-tools
|
||||||
NetworkManager
|
NetworkManager
|
||||||
|
@ -38,6 +38,14 @@ part / --size=8576
|
|||||||
|
|
||||||
%post --logfile=/mnt/sysimage/root/post.log
|
%post --logfile=/mnt/sysimage/root/post.log
|
||||||
|
|
||||||
|
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked.
|
||||||
|
dnf update -y # Update the system
|
||||||
|
grub2-mkconfig -o /boot/grub2/grub.cfg # Unsure it is actually useful
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post --logfile=/mnt/sysimage/root/post.log
|
||||||
|
|
||||||
# Enable livesys services
|
# Enable livesys services
|
||||||
systemctl enable livesys.service
|
systemctl enable livesys.service
|
||||||
systemctl enable livesys-late.service
|
systemctl enable livesys-late.service
|
||||||
@ -88,7 +96,7 @@ touch /etc/machine-id
|
|||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post --logfile=/mnt/sysimage/root/post-live-session.log
|
||||||
|
|
||||||
# set livesys session type
|
# set livesys session type
|
||||||
sed -i 's/^livesys_session=.*/livesys_session="gnome"/' /etc/sysconfig/livesys
|
sed -i 's/^livesys_session=.*/livesys_session="gnome"/' /etc/sysconfig/livesys
|
||||||
|
@ -25,7 +25,7 @@ timezone Europe/Paris --utc
|
|||||||
# Use network installation
|
# Use network installation
|
||||||
url --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch"
|
url --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch"
|
||||||
# System bootloader configuration
|
# System bootloader configuration
|
||||||
bootloader --location=mbr --timeout=1
|
bootloader --location=none --timeout=1
|
||||||
# Clear the Master Boot Record
|
# Clear the Master Boot Record
|
||||||
zerombr
|
zerombr
|
||||||
# Partition clearing information
|
# Partition clearing information
|
||||||
@ -94,6 +94,13 @@ touch /etc/machine-id
|
|||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%post --logfile=/mnt/sysimage/root/post-live-session.log
|
||||||
|
|
||||||
|
# set livesys session type
|
||||||
|
sed -i 's/^livesys_session=.*/livesys_session="gnome"/' /etc/sysconfig/livesys
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor.log
|
%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor.log
|
||||||
|
|
||||||
# Load kernel modules by adding vfio, vfio_pci, vfio_iommu_type1, vfio_virqfd
|
# Load kernel modules by adding vfio, vfio_pci, vfio_iommu_type1, vfio_virqfd
|
||||||
@ -129,9 +136,16 @@ mkdir /mnt/sysimage/var/lib/libvirt/isos # Create a directory to store iso image
|
|||||||
NetworkManager
|
NetworkManager
|
||||||
NetworkManager-config-connectivity-fedora
|
NetworkManager-config-connectivity-fedora
|
||||||
aajohan-comfortaa-fonts
|
aajohan-comfortaa-fonts
|
||||||
|
alsa-sof-firmware
|
||||||
|
amd-gpu-firmware
|
||||||
|
atheros-firmware
|
||||||
audit
|
audit
|
||||||
|
b43-fwcutter
|
||||||
|
b43-openfwwf
|
||||||
basesystem
|
basesystem
|
||||||
bash
|
bash
|
||||||
|
brcmfmac-firmware
|
||||||
|
cirrus-audio-firmware
|
||||||
coreutils
|
coreutils
|
||||||
curl
|
curl
|
||||||
dhcp-client
|
dhcp-client
|
||||||
@ -154,13 +168,20 @@ glibc-all-langpacks
|
|||||||
guestfs-tools
|
guestfs-tools
|
||||||
hostname
|
hostname
|
||||||
initial-setup
|
initial-setup
|
||||||
|
intel-audio-firmware
|
||||||
|
intel-gpu-firmware
|
||||||
|
intel-vsc-firmware
|
||||||
iproute
|
iproute
|
||||||
iputils
|
iputils
|
||||||
|
iwlegacy-firmware
|
||||||
|
iwlwifi-dvm-firmware
|
||||||
|
iwlwifi-mvm-firmware
|
||||||
kbd
|
kbd
|
||||||
kernel
|
kernel
|
||||||
kernel-modules
|
kernel-modules
|
||||||
kernel-modules-extra
|
kernel-modules-extra
|
||||||
less
|
less
|
||||||
|
libertas-firmware
|
||||||
libguestfs-tools
|
libguestfs-tools
|
||||||
libusb1
|
libusb1
|
||||||
libvirt
|
libvirt
|
||||||
@ -168,8 +189,11 @@ libvirt-daemon-config-network
|
|||||||
libvirt-daemon-kvm
|
libvirt-daemon-kvm
|
||||||
livesys-scripts
|
livesys-scripts
|
||||||
man-db
|
man-db
|
||||||
|
mt7xxx-firmware
|
||||||
nano
|
nano
|
||||||
ncurses
|
ncurses
|
||||||
|
nvidia-gpu-firmware
|
||||||
|
nxpwireless-firmware
|
||||||
openssh-clients
|
openssh-clients
|
||||||
openssh-server
|
openssh-server
|
||||||
parted
|
parted
|
||||||
@ -180,6 +204,7 @@ prefixdevname
|
|||||||
procps-ng
|
procps-ng
|
||||||
python3-libguestfs
|
python3-libguestfs
|
||||||
qemu-kvm
|
qemu-kvm
|
||||||
|
realtek-firmware
|
||||||
rootfiles
|
rootfiles
|
||||||
rpm
|
rpm
|
||||||
selinux-policy-targeted
|
selinux-policy-targeted
|
||||||
@ -190,6 +215,7 @@ sssd-kcm
|
|||||||
sudo
|
sudo
|
||||||
systemd
|
systemd
|
||||||
systemd-resolved
|
systemd-resolved
|
||||||
|
tiwilink-firmware
|
||||||
usbutils
|
usbutils
|
||||||
util-linux
|
util-linux
|
||||||
vim-minimal
|
vim-minimal
|
||||||
|
@ -94,7 +94,7 @@ touch /etc/machine-id
|
|||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post --logfile=/mnt/sysimage/root/post-live-session.log
|
||||||
|
|
||||||
# set livesys session type
|
# set livesys session type
|
||||||
sed -i 's/^livesys_session=.*/livesys_session="gnome"/' /etc/sysconfig/livesys
|
sed -i 's/^livesys_session=.*/livesys_session="gnome"/' /etc/sysconfig/livesys
|
||||||
@ -103,6 +103,8 @@ sed -i 's/^livesys_session=.*/livesys_session="gnome"/' /etc/sysconfig/livesys
|
|||||||
|
|
||||||
%packages --exclude-weakdeps
|
%packages --exclude-weakdeps
|
||||||
@anaconda-tools
|
@anaconda-tools
|
||||||
|
NetworkManager
|
||||||
|
NetworkManager-config-connectivity-fedora
|
||||||
aajohan-comfortaa-fonts
|
aajohan-comfortaa-fonts
|
||||||
audit
|
audit
|
||||||
basesystem
|
basesystem
|
||||||
@ -111,11 +113,15 @@ coreutils
|
|||||||
curl
|
curl
|
||||||
dhcp-client
|
dhcp-client
|
||||||
dnf5
|
dnf5
|
||||||
|
dnf5-plugins
|
||||||
dracut
|
dracut
|
||||||
|
dracut-config-rescue
|
||||||
dracut-live
|
dracut-live
|
||||||
e2fsprogs
|
e2fsprogs
|
||||||
fedora-remix-logos
|
fedora-remix-logos
|
||||||
filesystem
|
filesystem
|
||||||
|
firewalld
|
||||||
|
fwupd
|
||||||
generic-logos
|
generic-logos
|
||||||
generic-release
|
generic-release
|
||||||
generic-release-common
|
generic-release-common
|
||||||
@ -131,13 +137,18 @@ kernel
|
|||||||
kernel-modules
|
kernel-modules
|
||||||
kernel-modules-extra
|
kernel-modules-extra
|
||||||
less
|
less
|
||||||
|
libusb1
|
||||||
livesys-scripts
|
livesys-scripts
|
||||||
man-db
|
man-db
|
||||||
|
nano
|
||||||
ncurses
|
ncurses
|
||||||
openssh-clients
|
openssh-clients
|
||||||
openssh-server
|
openssh-server
|
||||||
parted
|
parted
|
||||||
|
pciutils
|
||||||
|
plymouth
|
||||||
policycoreutils
|
policycoreutils
|
||||||
|
prefixdevname
|
||||||
procps-ng
|
procps-ng
|
||||||
rootfiles
|
rootfiles
|
||||||
rpm
|
rpm
|
||||||
@ -148,8 +159,12 @@ sssd-common
|
|||||||
sssd-kcm
|
sssd-kcm
|
||||||
sudo
|
sudo
|
||||||
systemd
|
systemd
|
||||||
|
systemd-resolved
|
||||||
|
usbutils
|
||||||
util-linux
|
util-linux
|
||||||
vim-minimal
|
vim-minimal
|
||||||
|
wget2
|
||||||
|
zram-generator-defaults
|
||||||
-fedora-logos
|
-fedora-logos
|
||||||
-fedora-release
|
-fedora-release
|
||||||
-fedora-release-common
|
-fedora-release-common
|
||||||
|
Loading…
x
Reference in New Issue
Block a user