Make git repo
This commit is contained in:
56
kickstarts/minimal.ks
Normal file
56
kickstarts/minimal.ks
Normal file
@@ -0,0 +1,56 @@
|
||||
# Fedora 42 Minimal Live ISO
|
||||
# Ultra-minimal bootable system
|
||||
|
||||
url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-42&arch=x86_64
|
||||
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone UTC --utc
|
||||
|
||||
rootpw --plaintext changeme
|
||||
|
||||
network --bootproto=dhcp --device=link --activate --onboot=yes
|
||||
|
||||
bootloader --location=mbr --timeout=5
|
||||
|
||||
clearpart --all --initlabel
|
||||
autopart --type=plain --nohome
|
||||
|
||||
%packages --excludedocs
|
||||
@core
|
||||
kernel
|
||||
systemd
|
||||
dnf
|
||||
bash
|
||||
coreutils
|
||||
util-linux
|
||||
NetworkManager
|
||||
openssh-server
|
||||
openssh-clients
|
||||
vim-minimal
|
||||
less
|
||||
-plymouth
|
||||
-plymouth-*
|
||||
-firewalld
|
||||
-sssd*
|
||||
-abrt*
|
||||
%end
|
||||
|
||||
%post --erroronfail
|
||||
systemctl disable dnf-makecache.timer
|
||||
systemctl disable dnf-makecache.service
|
||||
systemctl enable sshd
|
||||
systemctl enable NetworkManager
|
||||
|
||||
mkdir -p /etc/systemd/journald.conf.d
|
||||
cat > /etc/systemd/journald.conf.d/size.conf << JEOF
|
||||
[Journal]
|
||||
SystemMaxUse=50M
|
||||
RuntimeMaxUse=20M
|
||||
JEOF
|
||||
|
||||
dnf clean all
|
||||
rm -rf /var/cache/dnf/*
|
||||
%end
|
||||
|
||||
reboot
|
||||
Reference in New Issue
Block a user