diff --git a/blocks/dev-base.cfg b/blocks/dev-base.cfg new file mode 100644 index 0000000..870f193 --- /dev/null +++ b/blocks/dev-base.cfg @@ -0,0 +1,57 @@ +# __ ____ ____ _____ +# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ +# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ +# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / +# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ +# /_/ /____/ +# +# FOR DEVELOPMENT ONLY! +# +# What ? This kickstart file provides a basic block to build a minimal operating system for development. +# Password is hardcoded! + +text # Perform installation in text mode + +keyboard --xlayouts='ch (fr)' # set keyboard layouts for Romandie +lang en_US.UTF-8 # Set system language to American English. More languages could be supported: --addsupport=cs_CZ,de_DE,en_UK +timezone Europe/Paris --utc # Set system timezone to Paris + +rootpw --plaintext carpediem # set root password to 'carpediem' + +selinux --disabled # Make sure SELinux is disabled +firewall --disabled --service=mdns # Make sure the firewall is disabled +services --enabled=NetworkManager --disabled=sshd +network --onboot=yes --bootproto=dhcp --device=link --activate --hostname=phyllome-alpha # Configure network interfaces and set hostname. "link" selects the first device reaching an up state + +zerombr # WARNING : Dangerous command ! Will clear the Master Boot Record +clearpart --all --initlabel # Partition clearing information. This setup uses GPT by default. +bootloader --timeout=1 # Set the GNU GRUB bootloader timeout to 1. + +%packages --exclude-weakdeps # Beginning of the package section. Does not include weak dependencies. + +@core # minimal installation +@hardware-support # Provides extended hardware support, and especially extra wireless drivers +pciutils # Pciutils provides lspci commandline tool, which is not installed by default +wget # "The non-interactive network downloader. " Used to fetch files during installation +neofetch # a simple tool to show hardware-related informations inside a terminal +nano # The nano text editor +-fedora-logos # Remove Fedora logos to comply with [Fedora Remix legal guidelines](https://fedoraproject.org/wiki/Remix) +-fedora-release # Remove Fedora release-notes +-fedora-release-notes # Remove Fedora release-notes +-fedora-release-common # Remove Fedora release files +-fedora-release-identity-basic # ??? +fedora-remix-logos # Add Fedora Remix logos +generic-release # Add Fedora Remix logos +generic-logos # Add Fedora Remix logos +generic-release-common # "Generic release files" +generic-release-notes # "Release Notes" + +%end # End of the packages section + +%post --log=/root/b.log # Beginning of the post-installation section. Add logging. + +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 # End of the %post section \ No newline at end of file