create new directories
it follows a cuisine analogy, with dishes made followed a recipe, using ingredients
This commit is contained in:
102
dishes/nano-server.cfg
Normal file
102
dishes/nano-server.cfg
Normal file
@ -0,0 +1,102 @@
|
||||
# Generated by pykickstart v3.34
|
||||
#version=DEVEL
|
||||
# Keyboard layouts
|
||||
keyboard --xlayouts='ch (fr)'
|
||||
# Root password
|
||||
rootpw --iscrypted --lock locked
|
||||
# System language
|
||||
lang en_US.UTF-8
|
||||
# Reboot after installation
|
||||
reboot --kexec
|
||||
# Use text mode install
|
||||
text
|
||||
# Network information
|
||||
network --bootproto=dhcp --device=link --hostname=phyllome-alpha --activate
|
||||
# Firewall configuration
|
||||
firewall --enabled --service=mdns
|
||||
# Use network installation
|
||||
url --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch"
|
||||
repo --name="fedora" --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
||||
repo --name="updates" --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
|
||||
# System timezone
|
||||
timezone Europe/Paris --utc
|
||||
# Run the Setup Agent on first boot
|
||||
firstboot --reconfig
|
||||
# SELinux configuration
|
||||
selinux --enforcing
|
||||
# System services
|
||||
services --disabled="sshd" --enabled="NetworkManager"
|
||||
# System bootloader configuration
|
||||
bootloader --location=mbr --timeout=1
|
||||
# Clear the Master Boot Record
|
||||
zerombr
|
||||
# Partition clearing information
|
||||
clearpart --all --initlabel
|
||||
# Disk partitioning information
|
||||
part /boot/efi --fstype="efi" --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi
|
||||
part /boot --fstype="ext4" --size=384 --label=boot
|
||||
part / --fstype="ext4" --grow --label=root
|
||||
|
||||
%post --logfile=/root/bnd.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 # Update grub otherwise the system won't boot properly
|
||||
|
||||
%end
|
||||
|
||||
%packages --exclude-weakdeps
|
||||
NetworkManager
|
||||
audit
|
||||
basesystem
|
||||
bash
|
||||
coreutils
|
||||
curl
|
||||
dhcp-client
|
||||
dnf
|
||||
dnf-plugins-core
|
||||
dracut-config-rescue
|
||||
e2fsprogs
|
||||
efibootmgr
|
||||
fedora-remix-logos
|
||||
fedora-repos-modular
|
||||
filesystem
|
||||
firewalld
|
||||
generic-release
|
||||
generic-release-common
|
||||
generic-release-notes
|
||||
glibc
|
||||
glibc-minimal-langpack
|
||||
hostname
|
||||
initial-setup
|
||||
iproute
|
||||
iputils
|
||||
kbd
|
||||
kernel
|
||||
less
|
||||
man-db
|
||||
ncurses
|
||||
parted
|
||||
passwd
|
||||
pciutils
|
||||
plymouth
|
||||
policycoreutils
|
||||
procps-ng
|
||||
rootfiles
|
||||
rpm
|
||||
selinux-policy-targeted
|
||||
setup
|
||||
shadow-utils
|
||||
sudo
|
||||
systemd
|
||||
systemd-oomd-defaults
|
||||
systemd-resolved
|
||||
util-linux
|
||||
vim-minimal
|
||||
yum
|
||||
zram-generator-defaults
|
||||
-fedora-release
|
||||
-fedora-release-common
|
||||
-fedora-release-identity-basic
|
||||
|
||||
%end
|
Reference in New Issue
Block a user