diff --git a/dishes/virtual-nano.cfg b/dishes/virtual-nano.cfg new file mode 100644 index 0000000..4bc77c5 --- /dev/null +++ b/dishes/virtual-nano.cfg @@ -0,0 +1,96 @@ +# Generated by pykickstart v3.62 +#version=DEVEL +# Use text mode install +text +# Firewall configuration +firewall --disabled +# Run the Setup Agent on first boot +firstboot --reconfig +# Keyboard layouts +keyboard --xlayouts='ch (fr)' +# System language +lang en_US.UTF-8 +# Network information +network --bootproto=dhcp --device=link --hostname=phyllome-alpha --activate +# Shutdown after installation +shutdown +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 +# Root password +rootpw --iscrypted --lock locked +# SELinux configuration +selinux --disabled +# System services +services --enabled="NetworkManager,chronyd,systemd-resolved" +# System timezone +timezone Europe/Paris --utc +# Use network installation +url --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch" +# 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=512 --label=boot +part / --fstype="ext4" --grow --label=root + +%post --logfile=/opt/base-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 + +%packages --exclude-weakdeps +audit +basesystem +bash +coreutils +curl +dhcp-client +dnf5 +e2fsprogs +fedora-remix-logos +filesystem +generic-logos +generic-release +generic-release-common +generic-release-notes +glibc +hostname +initial-setup +iproute +iputils +kbd +less +man-db +ncurses +openssh-clients +openssh-server +parted +policycoreutils +procps-ng +qemu-guest-agent +rootfiles +rpm +selinux-policy-targeted +setup +shadow-utils +spice-vdagent +sssd-common +sssd-kcm +sudo +systemd +util-linux +vim-minimal +-fedora-logos +-fedora-release +-fedora-release-common +-fedora-release-identity-basic +-fedora-release-notes + +%end diff --git a/ingredients/core-fedora-repo.cfg b/ingredients/core-fedora-repo.cfg index 67f245b..aa322f2 100644 --- a/ingredients/core-fedora-repo.cfg +++ b/ingredients/core-fedora-repo.cfg @@ -10,5 +10,4 @@ # Official Fedora repositories repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora mirror repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch # Official Fedora updates mirror -url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora updates mirror - +url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora updates mirror \ No newline at end of file diff --git a/recipes/desktop-hypervisor.cfg b/recipes/desktop-hypervisor.cfg index 5eb4129..43cf20c 100644 --- a/recipes/desktop-hypervisor.cfg +++ b/recipes/desktop-hypervisor.cfg @@ -10,12 +10,14 @@ %include ../ingredients/core.cfg # The core configuration %include ../ingredients/core-storage.cfg # The core configuration storage %include ../ingredients/core-locale.cfg # System locale + %include ../ingredients/core-packages-mandatory.cfg # Mandatory packages %include ../ingredients/core-packages-default.cfg # Default but not necessary packages %include ../ingredients/core-packages-generic.cfg # Make it a generic distribution %include ../ingredients/core-packages-custom.cfg # Hand-picked packages %include ../ingredients/core-packages-hardware-support.cfg # Provides extended hardware support %include ../ingredients/core-fedora-repo.cfg # Offical repositories for Fedora + %include ../ingredients/core-post.cfg # Post configuration script %include ../ingredients/core-desktop-initial-setup.cfg # Includes initial-setup for GNOME Shell, allowing for the creation of a user after the first boot, as well as some basic configuration diff --git a/recipes/virtual-desktop-hypervisor.cfg b/recipes/virtual-desktop-hypervisor.cfg index a7b07a4..a74f442 100644 --- a/recipes/virtual-desktop-hypervisor.cfg +++ b/recipes/virtual-desktop-hypervisor.cfg @@ -10,11 +10,13 @@ %include ../ingredients/core.cfg # The core configuration %include ../ingredients/core-storage.cfg # The core configuration storage %include ../ingredients/core-locale.cfg # System locale + %include ../ingredients/core-packages-mandatory.cfg # Mandatory packages %include ../ingredients/core-packages-default.cfg # Default but not necessary packages %include ../ingredients/core-packages-generic.cfg # Make it a generic distribution %include ../ingredients/core-packages-custom.cfg # Hand-picked packages %include ../ingredients/core-fedora-repo.cfg # Offical repositories for Fedora + %include ../ingredients/core-post.cfg # Post configuration script %include ../ingredients/core-desktop-initial-setup.cfg # Includes initial-setup for GNOME Shell, allowing for the creation of a user after the first boot, as well as some basic configuration diff --git a/recipes/virtual-desktop.cfg b/recipes/virtual-desktop.cfg index d54638f..5df015f 100644 --- a/recipes/virtual-desktop.cfg +++ b/recipes/virtual-desktop.cfg @@ -10,11 +10,13 @@ %include ../ingredients/core.cfg # The core configuration %include ../ingredients/core-storage.cfg # The core configuration storage %include ../ingredients/core-locale.cfg # A system locale + %include ../ingredients/core-packages-mandatory.cfg # Mandatory packages %include ../ingredients/core-packages-default.cfg # Default but not necessary packages %include ../ingredients/core-packages-generic.cfg # Make it a generic distribution %include ../ingredients/core-packages-custom.cfg # Hand-picked packages %include ../ingredients/core-fedora-repo.cfg # Offical repositories for Fedora + %include ../ingredients/core-post.cfg # Post configuration script %include ../ingredients/core-desktop-initial-setup.cfg # Includes initial-setup for GNOME Shell, allowing for the creation of a user after the first boot, as well as some basic configuration diff --git a/recipes/virtual-nano.cfg b/recipes/virtual-nano.cfg new file mode 100644 index 0000000..897b3cd --- /dev/null +++ b/recipes/virtual-nano.cfg @@ -0,0 +1,21 @@ +# __ ____ ____ _____ +# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ +# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ +# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / +# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ +# /_/ /____/ +# +# What ? This kickstart file bootstraps a server-oriented system. + +%include ../ingredients/core.cfg # The core configuration +%include ../ingredients/core-storage.cfg # The core configuration storage +%include ../ingredients/core-locale.cfg # A system locale + +%include ../ingredients/core-packages-mandatory.cfg # Mandatory packages +%include ../ingredients/core-packages-generic.cfg # Make it a generic distribution +%include ../ingredients/core-fedora-repo.cfg # Offical repositories for Fedora + +%include ../ingredients/core-post.cfg # Post configuration script +%include ../ingredients/core-server-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created + +%include ../ingredients/base-guest-agents.cfg # Guest agents \ No newline at end of file diff --git a/recipes/virtual-server.cfg b/recipes/virtual-server.cfg index a5ab670..9ae6cad 100644 --- a/recipes/virtual-server.cfg +++ b/recipes/virtual-server.cfg @@ -10,11 +10,13 @@ %include ../ingredients/core.cfg # The core configuration %include ../ingredients/core-storage.cfg # The core configuration storage %include ../ingredients/core-locale.cfg # A system locale + %include ../ingredients/core-packages-mandatory.cfg # Mandatory packages %include ../ingredients/core-packages-default.cfg # Default but not necessary packages %include ../ingredients/core-packages-generic.cfg # Make it a generic distribution %include ../ingredients/core-packages-custom.cfg # Hand-picked packages %include ../ingredients/core-fedora-repo.cfg # Offical repositories for Fedora + %include ../ingredients/core-post.cfg # Post configuration script %include ../ingredients/core-server-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created