Skip to content

Instantly share code, notes, and snippets.

@rphillips
Last active July 19, 2022 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rphillips/01c158ec391d36172dc6dc7959ce3716 to your computer and use it in GitHub Desktop.
Save rphillips/01c158ec391d36172dc6dc7959ce3716 to your computer and use it in GitHub Desktop.
#version=F34
# URLs and REPOs
url --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-34&arch=x86_64"
repo --name=fedora-updates --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f34&arch=x86_64" --cost=0
# RPMFusion Free
repo --name=rpmfusion-free --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-34&arch=x86_64" --includepkgs=rpmfusion-free-release
repo --name=rpmfusion-free-updates --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-34&arch=x86_64" --cost=0
repo --name=rpmfusion-free-tainted --mirrorlist="https://mirrors.rpmfusion.org/metalink?repo=free-fedora-tainted-34&arch=x86_64"
# RPMFusion NonFree
repo --name=rpmfusion-nonfree --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-34&arch=x86_64" --includepkgs=rpmfusion-nonfree-release
repo --name=rpmfusion-nonfree-updates --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-34&arch=x86_64" --cost=0
repo --name=rpmfusion-nonfree-tainted --mirrorlist="https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-tainted-34&arch=x86_64"
# Negativo17 NVIDIA/CUDA
repo --name=negativo17 --baseurl="https://negativo17.org/repos/nvidia/fedora-34/x86_64/"
# Secure Messenger
repo --name=element --baseurl="https://download.copr.fedorainfracloud.org/results/taw/element/fedora-33-x86_64/"
# Use graphical install
text
# Keyboard layouts
keyboard --xlayouts='us (mac)','de (mac)'
# System language
lang de_DE.UTF-8
# Network information
network --bootproto=dhcp --ipv6=auto --activate
network --hostname=fedora34
# Services
services --enabled=chronyd,sshd
# System timezone
timezone UTC --isUtc --ntpservers=0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org,3.pool.ntp.org
%packages
@admin-tools
@container-management
@development-tools
@system-tools
### Development
git
%end
%addon com_redhat_kdump --disable --reserve-mb='128'
%end
%anaconda
# --minquality does not seem to work
pwpolicy root --minlen=10 --minquality=50 --strict --notempty --nochanges
pwpolicy user --minlen=8 --minquality=30 --strict --notempty --nochanges
pwpolicy luks --minlen=10 --minquality=50 --strict --notempty --nochanges
%end
%post
# Reboot After Installation
reboot --eject
#!ipxe
dhcp
set base http://download-cc-rdu01.fedoraproject.org/pub/fedora/linux/releases/36/Server/x86_64/os/images/pxeboot/
kernel ${base}vmlinuz raid=noautodetect ip=dhcp net.ifnames=1
initrd ${base}initrd.img ks=https://gist.githubusercontent.com/rphillips/01c158ec391d36172dc6dc7959ce3716/raw/f7d083758be5bec37d2500248fa886969126178d/gistfile1.txt
boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment