Anaconda provisioning: Many fixes, first working autoinstall

This commit is contained in:
2026-04-21 12:17:01 +02:00
parent 888c4b17ad
commit 1606a88bb0
7 changed files with 116 additions and 61 deletions
+55 -17
View File
@@ -1,8 +1,15 @@
#Basic settings:
graphical
text
skipx
cdrom
# Configure installation method
url --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-43&arch=x86_64"
repo --name=fedora-updates --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f43&arch=x86_64" --cost=0
repo --name=fedora-cisco-openh264 --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-cisco-openh264-43&arch=x86_64" --install
repo --name=rpmfusion-free --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-43&arch=x86_64"
repo --name=rpmfusion-free-updates --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-43&arch=x86_64" --cost=0
repo --name=rpmfusion-nonfree --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-43&arch=x86_64"
repo --name=rpmfusion-nonfree-updates --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-43&arch=x86_64" --cost=0
# Keyboard layouts
keyboard --vckeymap=de-nodeadkeys --xlayouts='de (nodeadkeys)'
@@ -11,23 +18,53 @@ lang de_DE.UTF-8
# System timezone
timezone Europe/Berlin --utc
%pre --log=/root/ks-pre.log
mkdir /mnt/anaconda_pre
mount -L OEMDRV /mnt/anaconda_pre
/bin/sh /mnt/anaconda_pre/ks_base_profiles/basic_pre_script.inc
%end
%packages
#@^kde-desktop-environment
@core
@admin-tools
@domain-client
@system-tools
@kde-desktop
@kde-media
@kde-spin-initial-setup
@libreoffice
@office
@sound-and-video
@vlc
openssh-server
bash
sudo
gocryptfs
htop
mc
mediawriter
pykickstart
@editors
@firefox
thunderbird
xrdp
xorgxrdp
plasma-workspace-x11
xterm
flatpak
btrfs-assistant
btrbk
ktorrent
#@development-tools
#@editors
#@firefox
#@kde-apps
#@kde-desktop
#@kde-media
#@kde-spin-initial-setup
#@libreoffice
#@office
#@sound-and-video
#@vlc
kdevelop
git
ffmpeg
-kpat
-kmines
#Needed by SSSD
oddjob-mkhomedir
nss-pam-ldapd
%end
# System authorization information
@@ -36,8 +73,6 @@ authselect enable-feature with-fingerprint
# Run the Setup Agent on first boot
firstboot --enable
timesource --ntp-server=_gateway
# Generated using Blivet version 3.12.1
ignoredisk --only-use=sda
# Partition clearing information
@@ -50,5 +85,8 @@ autopart --type=btrfs
rootpw --iscrypted $y$j9T$jpKVkxaFqL6GH6GAgB0Yb/$oc.rfZgnHNlTAIj/boJeI.ZFf1QHvMF7fymZww9bzE3
%post --log=/root/ks-post.log
/bin/sh /mnt/tmp/system_setup/setup_system_full.sh install
mkdir /opt/sys_config
mount -L OEMDRV /opt/sys_config
/bin/sh /opt/sys_config/system_setup/setup_system_full.sh install
umount /opt/sys_config
%end