From 01630a3328a8dbeacc86f0cf2f36b0084dd9cd95 Mon Sep 17 00:00:00 2001 From: lukas Date: Wed, 30 Jun 2021 17:36:43 +0200 Subject: [PATCH] update terminology, needs to update URLs --- f34/bsued.cfg | 147 ----------------------------------------- f34/vdmed.cfg | 164 --------------------------------------------- f34/vdpep.cfg | 179 -------------------------------------------------- f34/vsmed.cfg | 123 ---------------------------------- f34/vsubd.cfg | 158 -------------------------------------------- f34/vsued.cfg | 156 ------------------------------------------- f34/vsxed.cfg | 149 ----------------------------------------- 7 files changed, 1076 deletions(-) delete mode 100644 f34/bsued.cfg delete mode 100644 f34/vdmed.cfg delete mode 100644 f34/vdpep.cfg delete mode 100644 f34/vsmed.cfg delete mode 100644 f34/vsubd.cfg delete mode 100644 f34/vsued.cfg delete mode 100644 f34/vsxed.cfg diff --git a/f34/bsued.cfg b/f34/bsued.cfg deleted file mode 100644 index 36e52dd..0000000 --- a/f34/bsued.cfg +++ /dev/null @@ -1,147 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# WHAT ? Kickstart file that bootstraps a minimal fedora 34 server, vanilla. -# bsmed, 'b' for bare-metal, 's' for server, 'u' for unmodified, 'e' for efi, 'd' for development. - -# USAGE : Press the `tab` key during POST and apend that after the 'quiet' string : -# inst.ks=https://git.phyllo.me/home/kickstart/raw/branch/master/f34/bsued.cfg -# Or the shorter version (to be tested) -# inst.ks=url.phyllo.me/bsued.cfg - -# ATTENTION : this kickstart file will automatically DESTROY the main NVME disk and all of its contents. -# Bye bye! - -# ATTENTION : user accounts are password-protected and passwords are encrypted in the present kickstart file. -# If you really want to hack it, you can reset the root password of the resulting image with the 'virt-sysprep' tool -# Do something like virt-sysprep --root-password password: -a thenameofyourdiskimage.img. -# Your password must be added after the semicolon ":". See here for more information : https://libguestfs.org/virt-sysprep.1.html - -# REQUIRES : -# - Requires a 5GB disk image (tested with QCOW2 and RAW images) -# - Expects an EFI-based virtual machine. -# - Tested on the Q35 virtual chipset (5.2). - -# TLDR : -# - This kickstart creates three partitions, nvme0n1p1 for `/boot` nvme0n1p2 for `/boot/efi` and nvme0n1p3 for `/` -# - It uses the ext4 filesystem -# - It will populate all the available disk space -# - After the installation, it will install updates -# - When installed on a bare-metal machine, the vanilla version should create a fully-updated system with 614 packages (`dnf list --installed | wc -l`) - -# Originally generated by Anaconda 34.24.9 -# Orginally generated by pykickstart v3.32 -#version=DEVEL - -## INSTALLATION TYPE ## - -# Perform Installation in Graphical Mode -graphical - -# Configure cdrom as installation method -# cdrom - -## REPOSITORIES ## - -# Add repo and mirror -url --mirrorlist="https://mirrors.fedoraproject.org/metalink?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 - -# Add rpmfusion repositories, which provides extra packages -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 - -# Uncomment to add-nonfree repositories -# 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 - -## USER RELATED ## - -# Keyboard layouts -# keyboard --vckeymap=fr-ch --xlayouts='fr-ch' - -# Set the system language to American English -lang en_US.UTF-8 - -# System timezone -timezone Europe/Paris --utc - -# Set root password and activate the account -rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz. - -# Create user account -user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="test" - -## NETWORK RELATED ## - -# Configure Firewall -firewall --enabled - -# Configure Network Interfaces -network --onboot=yes --bootproto=dhcp --hostname=bsued.cfg - -# Run the Setup Agent on first boot -firstboot --enable - -## SYSTEM RELATED - -# Services to enable/disable ## To do -# services --disabled=mlocate-updatedb,mlocate-updatedb.timer,geoclue,avahi-daemon - -## DISK RELATED ## - -# Only use disk labelled as nvme0n1 -ignoredisk --only-use=nvme0n1 - -# System bootloader configuration -bootloader --location=mbr --boot-drive=nvme0n1 - -# WARNING : Dangerous command ! Will clear the Master Boot Record -zerombr - -# Partition clearing information -clearpart --all --initlabel --drives=nvme0n1 - -# Disk partitioning information. -# Will create an efi partitition of 128 MiB, a boot partition of 350 MiB on disk vda using the ext4 filesystem. The remaining space will be used for root. -part /boot/efi --fstype="efi" --ondisk=nvme0n1 --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi -part /boot --fstype="ext4" --ondisk=nvme0n1 --size=350 --label=boot -part / --fstype="ext4" --ondisk=nvme0n1 --grow --label=system - -## SOFTWARE ## - -# Install packages for the server environment. 'Core' and 'Base' are always selected -%packages -@^server-product-environment -%end - -## POST-INSTALLATION SCRIPTS ## - -## Start of the %post section with logging into /root/ks-post.log -%post --log=/root/ks-post.log - -## Set keymap to ch-fr. ## Doesn't survive a reboot. Or only touches the console -#localectl set-keymap ch-fr - -# Set new hostname. ## Doesn't survive a reboot -# hostnamectl set-hostname kickstarted-fedora - -# Update the system -dnf update -y - -# set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds. -sed -i 's/5/1/' /etc/default/grub - -# Update grub -grub2-mkconfig -o /boot/grub2/grub.cfg - -## Reboot the installer (doesn't work (tm)) -reboot - -## End of the %post section -%end \ No newline at end of file diff --git a/f34/vdmed.cfg b/f34/vdmed.cfg deleted file mode 100644 index b3b5aa4..0000000 --- a/f34/vdmed.cfg +++ /dev/null @@ -1,164 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# WHAT ? This Kickstart file that bootstraps a minimal fedora 34 server. -# 'v' for virtual machine, 'd' for desktop, 'm' for minimal, 'e' for efi, 'd' for development. - -# USAGE : Press the `tab` or 'e' key during POST and apend that after the 'quiet' string : -# inst.ks=https://git.phyllo.me/home/kickstart/raw/branch/master/f34/vdmed.cfg -# A shorter URL can also be used : -# inst.ks=https://url.phyllo.me/vdmed - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -## INSTALLATION SOURCE ## - -# Configure the cdrom as the installation method -cdrom - -# Set URL -url --url="http://download.fedoraproject.org/pub/fedora/linux/releases/34/Server/x86_64/os" - -## INSTALLATION TYPE ## - -# Perform Installation in text mode -text - -## REPOSITORIES ## - -# Add mirro and repo -url --mirrorlist="https://mirrors.fedoraproject.org/metalink?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 - -## USER RELATED ## - -# Keyboard layouts -> Doesn't seem to survive a reboot -keyboard --xlayouts='ch (fr)' - -# Set the system language to American English -lang en_US.UTF-8 - -# System timezone -timezone Europe/Paris --utc # Pour Paris ! - -# Set root password and activate the account -rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz. - -# Create "test" user account -user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="test" - -## NETWORK RELATED ## - -# Configure Firewall -firewall --disabled - -# Configure Network Interfaces -network --onboot=yes --bootproto=dhcp --hostname=vdmed - -# Run the Setup Agent on first boot -firstboot --enable - -## DISK RELATED ## - -# Only use disk labelled as vda -ignoredisk --only-use=vda - -# System bootloader configuration -bootloader --location=mbr - -# WARNING : Dangerous command ! Will clear the Master Boot Record -zerombr - -# Partition clearing information -clearpart --all --initlabel --drives=vda - -# Disk partitioning information. -# Will create an efi partitition of 128 MiB, a boot partition of 350 MiB on disk vda using the ext4 filesystem. The remaining space will be used for root. -part /boot/efi --fstype="efi" --ondisk=vda --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi -part /boot --fstype="ext4" --ondisk=vda --size=350 --label=boot -part / --fstype="ext4" --ondisk=vda --grow --label=system - -## SOFTWARE ## - -# Install packages for the server environment. 'Core' and 'Base' are always selected -%packages -@core - -## Desktop-related packages to create a minimal desktop environment. -# Impossible to install dependencies, probably because the Fedora Server ISO doesnt' include them. -# We may switch to the Workstation ISO as a workaround -# We install packages after the installation -# -# gnome-shell # Minimal GNOME environement -# libpulse-mainloop-glib.so.0 # gnome-shell dependency -# libpulse.so.0 # gnome-shell dependency -# geoclue2-libs # gnome-shell dependency -# accountsservice-libs # gnome-shell dependency -# bolt # gnome-shell dependency -# control-center # gnome-shell dependency -# gdm-libs # gnome-shell dependency -# highcontrast-icon-theme # gnome-shell dependency -# switcheroo-control # gnome-shell dependency -# upower # gnome-shell dependency -# xdg-user-dirs-gtk # gnome-shell dependency -# libgweather # gnome-shell dependency -# gnome-bluetooth # gnome-shell dependency -# xdg-desktop-portal-gtk # gnome-shell dependency -# -# gnome-terminal -# -gnome-tour # We don't want GNOME-tour to open at launch so we delete it -# -# nautilus # Default File explorer for Gnome -# gnome-terminal-nautilus # Terminal integration for Nautilus -# gsettings-desktop-schemas # Nautilus dependency -# libtracker-sparql-3.0.so.0 # Nautilus dependency -# tracker3-miners # Nautilus dependency -# libgexiv2.so.2 # Nautilus dependency -# -# -# firefox # Internet browser -# libfdk-aac.so.2 # Firefox dependency -# libdbus-glib-1.so.2 # Firefox dependency -# mozilla-filesystem-1.9-25 # Firefox dependency -# -qemu-guest-agent # Install software to allow the host to better interact with the guest (can't find the spice-vdagent package) -# # spice-vdagent - --fedora-logos # To be removed if we want to redistribute as Fedora Remix. --fedora-release-notes # To be removed if we want to redistribute as Fedora Remix. - -%end - -## POST-INSTALLATION SCRIPTS ## - -## Start of the %post section with logging into /root/ks-post.log -%post --log=/root/ks-post.log - -localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked - -# dnf update -y # Update the system - -systemctl set-default graphical.target # Set the desktop environment as the default booting target with systemd - -dnf install -y gnome-shell gnome-terminal nano # Minimal GNOME shell or desktop environment plus the text nano editor -dnf install -y nautilus gnome-terminal-nautilus # Default File explorer for GNOME and its integration with gnome-shell -dnf install -y gedit # The official gnome text editor -dnf install -y firefox # Internet browser -dnf install -y spice-vdagent # Try to install spice-vdagent after the installation is done -dnf install -y dejavu-sans-mono-fonts # the gnome-shell package doesn't include much fonts by default, resulting in weird spacings in gnome-terminal. -dnf install -y elementary-wallpapers-gnome.noarch # Gorgeous wallpapers -dnf install -y wpa_supplicant # WPA Supplicant for Linux. Not integrated by default in gnome-shell, but necessary to configure wireless networks through the Network Manager. -dnf remove -y gnome-tour # We don't want GNOME-tour to open at launch so we delete it - -sed -i 's/5/1/' /etc/default/grub # set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds. - -grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub - -reboot # Reboot the installer (doesn't work (tm)) - -%end # End of the %post section diff --git a/f34/vdpep.cfg b/f34/vdpep.cfg deleted file mode 100644 index 8a5952f..0000000 --- a/f34/vdpep.cfg +++ /dev/null @@ -1,179 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# WHAT ? This Kickstart file that bootstraps a desktop-oriented virtual machine. -# 'v' for virtual machine, 'd' for desktop, 'p' for personalized, 'e' for efi, 'p' for production. - -# USAGE : Press the `tab` or 'e' key during POST and apend that after the 'quiet' string : -# inst.ks=https://git.phyllo.me/home/kickstart/raw/branch/master/f34/vdpep.cfg -# A shorter URL can also be used : -# inst.ks=https://url.phyllo.me/vdpep - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -## INSTALLATION SOURCE ## - -# Configure the cdrom as the installation method -cdrom - -# Set URL -url --url="http://download.fedoraproject.org/pub/fedora/linux/releases/34/Server/x86_64/os" - -## INSTALLATION TYPE ## - -# Perform Installation in text mode -text - -## REPOSITORIES ## - -# Add mirro and repo -url --mirrorlist="https://mirrors.fedoraproject.org/metalink?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 - -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-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 - -## USER RELATED ## - -# Keyboard layouts -> Doesn't seem to survive a reboot -keyboard --xlayouts='ch (fr)' - -# Set the system language to American English -lang en_US.UTF-8 - -# System timezone -timezone Europe/Paris --utc # Pour Paris ! - -# Set root password and activate the account -rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz. - -# Create "test" user account -user --name=lukas --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="lukas" - -## NETWORK RELATED ## - -# Configure Firewall -firewall --disabled - -# Configure Network Interfaces -network --onboot=yes --bootproto=dhcp --hostname=vdpep - -# Run the Setup Agent on first boot -firstboot --enable - -## DISK RELATED ## - -# Only use disk labelled as vda -ignoredisk --only-use=vda - -# System bootloader configuration -bootloader --location=mbr - -# WARNING : Dangerous command ! Will clear the Master Boot Record -zerombr - -# Partition clearing information -clearpart --all --initlabel --drives=vda - -# Disk partitioning information. -# Will create an efi partitition of 128 MiB, a boot partition of 350 MiB on disk vda using the ext4 filesystem. The remaining space will be used for root. -part /boot/efi --fstype="efi" --ondisk=vda --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi -part /boot --fstype="ext4" --ondisk=vda --size=350 --label=boot -part pv.122 --fstype="lvmpv" --ondisk=vda --grow -volgroup system --pesize=4096 pv.122 -logvol / --fstype="ext4" --percent 100 --label="root" --name=root --vgname=system - -# System timezone -timezone Europe/Paris --utc - -# Root password user account - -## SOFTWARE ## - -# Install packages for the server environment. 'Core' and 'Base' are always selected -%packages -@core - -## Desktop-related packages to create a minimal desktop environment. -# Impossible to install dependencies, probably because the Fedora Server ISO doesnt' include them. -# We may switch to the Workstation ISO as a workaround -# We install packages after the installation -# -# gnome-shell # Minimal GNOME environement -# libpulse-mainloop-glib.so.0 # gnome-shell dependency -# libpulse.so.0 # gnome-shell dependency -# geoclue2-libs # gnome-shell dependency -# accountsservice-libs # gnome-shell dependency -# bolt # gnome-shell dependency -# control-center # gnome-shell dependency -# gdm-libs # gnome-shell dependency -# highcontrast-icon-theme # gnome-shell dependency -# switcheroo-control # gnome-shell dependency -# upower # gnome-shell dependency -# xdg-user-dirs-gtk # gnome-shell dependency -# libgweather # gnome-shell dependency -# gnome-bluetooth # gnome-shell dependency -# xdg-desktop-portal-gtk # gnome-shell dependency -# -# gnome-terminal -# -gnome-tour # We don't want GNOME-tour to open at launch so we delete it -# -# nautilus # Default File explorer for Gnome -# gnome-terminal-nautilus # Terminal integration for Nautilus -# gsettings-desktop-schemas # Nautilus dependency -# libtracker-sparql-3.0.so.0 # Nautilus dependency -# tracker3-miners # Nautilus dependency -# libgexiv2.so.2 # Nautilus dependency -# -# -# firefox # Internet browser -# libfdk-aac.so.2 # Firefox dependency -# libdbus-glib-1.so.2 # Firefox dependency -# mozilla-filesystem-1.9-25 # Firefox dependency -# -qemu-guest-agent # Install software to allow the host to better interact with the guest (can't find the spice-vdagent package) -## spice-vdagent - --fedora-logos # To be removed if we want to redistribute as Fedora Remix. --fedora-release-notes # To be removed if we want to redistribute as Fedora Remix. - -%end - -## POST-INSTALLATION SCRIPTS ## - -## Start of the %post section with logging into /root/ks-post.log -%post --log=/root/ks-post.log - -localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked - -# dnf update -y # Update the system - -# systemctl set-default graphical.target # Set the desktop environment as the default booting target with systemd -# -# dnf install -y gnome-shell gnome-terminal nano # Minimal GNOME shell or desktop environment plus the text nano editor -# dnf install -y nautilus gnome-terminal-nautilus # Default File explorer for GNOME and its integration with gnome-shell -# dnf install -y gedit # The official gnome text editor -# dnf install -y firefox # Internet browser -# dnf install -y nextcloud-client nextcloud-client-nautilus # The Nextcloud client and its integration with gnome-shell -# dnf install -y libreoffice-writer # The rich and open text editor -# dnf install -y spice-vdagent # Try to install spice-vdagent after the installation is done -# dnf install -y dejavu-sans-mono-fonts # the gnome-shell package doesn't include much fonts by default, resulting in weird spacings in gnome-terminal. -# dnf install -y elementary-wallpapers-gnome.noarch # Gorgeous wallpapers -# dnf install -y wpa_supplicant # WPA Supplicant for Linux. Not integrated by default in gnome-shell, but necessary to configure wireless networks through the Network Manager. -# dnf remove -y gnome-tour # We don't want GNOME-tour to open at launch so we delete it -# -# sed -i 's/5/1/' /etc/default/grub # set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds. -# -# grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub - -reboot # Reboot the installer (doesn't work (tm)) - -%end # End of the %post section \ No newline at end of file diff --git a/f34/vsmed.cfg b/f34/vsmed.cfg deleted file mode 100644 index 5abafac..0000000 --- a/f34/vsmed.cfg +++ /dev/null @@ -1,123 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# WHAT ? This Kickstart file that bootstraps a minimal fedora 34 server. -# 'v' for virtual machine, 's' for server, 'm' for minimal, 'e' for efi, 'd' for development. - -# USAGE : Press the `tab` or 'e' key during POST and apend that after the 'quiet' string : -# inst.ks=https://git.phyllo.me/home/kickstart/raw/branch/master/f34/vsmed.cfg -# A shorter URL can also be used : -# inst.ks=https://url.phyllo.me/vsmed - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -## INSTALLATION SOURCE ## - -# Configure the cdrom as the installation method -cdrom - -# Set URL -url --url="http://download.fedoraproject.org/pub/fedora/linux/releases/34/Server/x86_64/os" - -## INSTALLATION TYPE ## - -# Perform Installation in text mode -text - -## REPOSITORIES ## - -# Add mirro and repo -url --mirrorlist="https://mirrors.fedoraproject.org/metalink?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 - -## USER RELATED ## - -# Keyboard layouts -> Doesn't seem to survive a reboot -keyboard --xlayouts='ch (fr)' - -# Set the system language to American English -lang en_US.UTF-8 - -# System timezone -timezone Europe/Paris --utc # Pour Paris ! - -# Set root password and activate the account -rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz. - -# Create "test" user account -user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="test" - -## NETWORK RELATED ## - -# Configure Firewall -firewall --disabled - -# Configure Network Interfaces -network --onboot=yes --bootproto=dhcp --hostname=vsmed - -# Run the Setup Agent on first boot -firstboot --enable - -## DISK RELATED ## - -# Only use disk labelled as vda -ignoredisk --only-use=vda - -# System bootloader configuration -bootloader --location=mbr - -# WARNING : Dangerous command ! Will clear the Master Boot Record -zerombr - -# Partition clearing information -clearpart --all --initlabel --drives=vda - -# Disk partitioning information. -# Will create an efi partitition of 128 MiB, a boot partition of 350 MiB on disk vda using the ext4 filesystem. The remaining space will be used for root. -part /boot/efi --fstype="efi" --ondisk=vda --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi -part /boot --fstype="ext4" --ondisk=vda --size=350 --label=boot -part / --fstype="ext4" --ondisk=vda --grow --label=system - -## SOFTWARE ## - -# Install packages for the server environment. 'Core' and 'Base' are always selected -%packages -@core - -# Install software to allow the host to better interact with the guest (can't find the spice-vdagent package) -qemu-guest-agent -# spice-vdagent - -# To be removed if we want to redistribute as Fedora Remix. --fedora-logos --fedora-release-notes - -%end - -## POST-INSTALLATION SCRIPTS ## - -## Start of the %post section with logging into /root/ks-post.log -%post --log=/root/ks-post.log - -## Set keymap to `ch-fr`. Alternatively, `us` can be picked -localectl set-keymap ch-fr - -# Update the system -# dnf update -y - -# set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds. -sed -i 's/5/1/' /etc/default/grub - -# Update grub -grub2-mkconfig -o /boot/grub2/grub.cfg - -## Reboot the installer (doesn't work (tm)) -reboot - -## End of the %post section -%end \ No newline at end of file diff --git a/f34/vsubd.cfg b/f34/vsubd.cfg deleted file mode 100644 index 03985ab..0000000 --- a/f34/vsubd.cfg +++ /dev/null @@ -1,158 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# WHAT ? Kickstart file that bootstraps a minimal fedora 34 server, vanilla. -# 'v' for virtual, 's' for server, 'u' for unmodified (aka vanilla), 'b' for bios, 'd' for development. - -# USAGE : Press the `tab` key during POST and apend that after the 'quiet' string : -# inst.ks=https://git.phyllo.me/home/kickstart/raw/branch/master/f34/vsub.cfg - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -# ATTENTION : user accounts are password-protected and passwords are encrypted in the file. -# If you really want to hack it, you can reset the root password of the resulting image with the 'virt-sysprep' tool -# Do something like virt-sysprep --root-password password: -a thenameofyourdiskimage.img. -# Your password must be added after the semicolon ":". See here for more information : https://libguestfs.org/virt-sysprep.1.html - -# REQUIRES : -# - Requires a 3GB disk image (tested with QCOW2, may works with most virtio-based storage) -# - Expects a BIOS-based virtual machine (no-EFI support). There will be a kickstart file for that (tm) -# - Tested on the Q35 virtual chipset (5.2), but may works on i440fx virtual chipsets. - -# TLDR : -# - This kickstart creates two partitions, vda1 for `/boot` and vda2 for `/` -# - It uses the ext4 filesystem -# - It will populate all the available disk space -# - After the installation, it will install updates -# - When installed in a virtual machine, the vanilla version should create a fully-updated system with 614 packages (`dnf list --installed | wc -l`) - -# Originally generated by Anaconda 34.24.9 -# Orginally generated by pykickstart v3.32 -#version=DEVEL - -## INSTALLATION SOURCE ## -## TEST ## - -# Configure cdrom as installation method -cdrom - -# NEEDS TO BE FIXED - Alternatively, use network installation by commenting out 'cdrom' and uncommenting the following : --> Is it really the case ? -url --url="http://download.fedoraproject.org/pub/fedora/linux/releases/34/Server/x86_64/os" - -## INSTALLATION TYPE ## - -# Perform Installation in Graphical Mode -graphical - -# Alternatively, start the installation in text mode. -> To be tested -# text - -## REPOSITORIES ## - -# Add repo and mirror -url --mirrorlist="https://mirrors.fedoraproject.org/metalink?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 - -# Add rpmfusion repositories, which provides extra-packages -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 - -# Uncomment to add-nonfree repositories -# 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 - -## USER RELATED ## - -# Keyboard layouts -> Doesn't seem to survive a reboot -keyboard fr-ch - -# Set the system language to American English -lang en_US.UTF-8 -# lang fr_CH.UTF-8 # Pour la Romandie ! - -# System timezone -timezone Europe/Paris --utc # Pour Paris ! - -# Set root password and activate the account -rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz. - -# Create user account -user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="test" - -## NETWORK RELATED ## - -# Configure Firewall -firewall --enabled - -# Configure Network Interfaces -network --onboot=yes --bootproto=dhcp --hostname=f34-minimal - -# Run the Setup Agent on first boot -firstboot --enable - -## SYSTEM RELATED - -# Services to enable/disable ## To do -# services --disabled=mlocate-updatedb,mlocate-updatedb.timer,geoclue,avahi-daemon - -## DISK RELATED ## - -# Only use disk labelled as vda -ignoredisk --only-use=vda - -# System bootloader configuration -bootloader --location=mbr - -# WARNING : Dangerous command ! Will clear the Master Boot Record -zerombr - -# Partition clearing information -clearpart --all --initlabel --drives=vda - -# Disk partitioning information. -# Will create a boot partition of 350 MiB on disk vda using the ext4 filesystem. The remaining space will be used for root. -part /boot --fstype="ext4" --ondisk=vda --size=350 --label=boot -part / --fstype="ext4" --ondisk=vda --grow --label=system - -## SOFTWARE ## - -# Install packages for the server environment. 'Core' and 'Base' are always selected -%packages -@^server-product-environment -%end - -## POST-INSTALLATION SCRIPTS ## - -## Start of the %post section with logging into /root/ks-post.log -%post --log=/root/ks-post.log - -## Set keymap to ch-fr. ## Doesn't survive a reboot. Or only touches the console -#localectl set-keymap ch-fr - -# Set new hostname. ## Doesn't survive a reboot -# hostnamectl set-hostname kickstarted-fedora - -# Update the system -dnf update -y - -## We also need to install a qemu guest agent, to allow the host to better interact with the guest -dnf install -y spice-vdagent qemu-guest-agent - -# set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds. -sed -i 's/5/1/' /etc/default/grub - -# Update grub -grub2-mkconfig -o /boot/grub2/grub.cfg - -## Reboot the installer (doesn't work (tm)) -reboot - -## End of the %post section -%end - - diff --git a/f34/vsued.cfg b/f34/vsued.cfg deleted file mode 100644 index a0f08a9..0000000 --- a/f34/vsued.cfg +++ /dev/null @@ -1,156 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# WHAT ? Kickstart file that bootstraps a minimal fedora 34 server, vanilla. -# 'v' for virtual, 's' for server, 'u' for unmodified (aka vanilla), 'e' for efi, 'd' for development. - -# USAGE : Press the `tab` key during POST and apend that after the 'quiet' string : -# inst.ks=https://git.phyllo.me/home/kickstart/raw/branch/master/f34/vsued.cfg - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -# ATTENTION : user accounts are password-protected and passwords are encrypted in the file. -# If you really want to hack it, you can reset the root password of the resulting image with the 'virt-sysprep' tool -# Do something like virt-sysprep --root-password password: -a thenameofyourdiskimage.img. -# Your password must be added after the semicolon ":". See here for more information : https://libguestfs.org/virt-sysprep.1.html - -# REQUIRES : -# - Requires a 5GB disk image (tested with QCOW2, may works with most virtio-based storage) -# - Expects a EFI-based virtual machine. -# - Tested on the Q35 virtual chipset (5.2), but may works on i440fx virtual chipsets. - -# TLDR : -# - This kickstart creates two partitions, vda1 for `/boot` and vda2 for `/` -# - It uses the ext4 filesystem -# - It will populate all the available disk space -# - After the installation, it will install updates -# - When installed in a virtual machine, the vanilla version should create a fully-updated system with 614 packages (`dnf list --installed | wc -l`) - -# Originally generated by Anaconda 34.24.9 -# Orginally generated by pykickstart v3.32 -#version=DEVEL - -## INSTALLATION SOURCE ## - -# Configure cdrom as installation method -cdrom - -# NEEDS TO BE FIXED - Alternatively, use network installation by commenting out 'cdrom' and uncommenting the following : --> Is it really the case ? -url --url="http://download.fedoraproject.org/pub/fedora/linux/releases/34/Server/x86_64/os" - -## INSTALLATION TYPE ## - -# Perform Installation in Graphical Mode -graphical - -# Alternatively, start the installation in text mode. -> To be tested -# text - -## REPOSITORIES ## - -# Add repo and mirror -url --mirrorlist="https://mirrors.fedoraproject.org/metalink?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 - -# Add rpmfusion repositories, which provides extra-packages -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 - -# Uncomment to add-nonfree repositories -# 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 - -## USER RELATED ## - -# Keyboard layouts -> Doesn't seem to survive a reboot -keyboard fr-ch - -# Set the system language to American English -lang en_US.UTF-8 -# lang fr_CH.UTF-8 # Pour la Romandie ! - -# System timezone -timezone Europe/Paris --utc # Pour Paris ! - -# Set root password and activate the account -rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz. - -# Create user account -user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="test" - -## NETWORK RELATED ## - -# Configure Firewall -firewall --enabled - -# Configure Network Interfaces -network --onboot=yes --bootproto=dhcp --hostname=f34-minimal - -# Run the Setup Agent on first boot -firstboot --enable - -## SYSTEM RELATED - -# Services to enable/disable ## To do -# services --disabled=mlocate-updatedb,mlocate-updatedb.timer,geoclue,avahi-daemon - -## DISK RELATED ## - -# Only use disk labelled as vda -ignoredisk --only-use=vda - -# System bootloader configuration -bootloader --location=mbr - -# WARNING : Dangerous command ! Will clear the Master Boot Record -zerombr - -# Partition clearing information -clearpart --all --initlabel --drives=vda - -# Disk partitioning information. -# Will create an efi partitition of 128 MiB, a boot partition of 350 MiB on disk vda using the ext4 filesystem. The remaining space will be used for root. -part /boot/efi --fstype="efi" --ondisk=vda --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi -part /boot --fstype="ext4" --ondisk=vda --size=350 --label=boot -part / --fstype="ext4" --ondisk=vda --grow --label=system - -## SOFTWARE ## - -# Install packages for the server environment. 'Core' and 'Base' are always selected -%packages -@^server-product-environment -%end - -## POST-INSTALLATION SCRIPTS ## - -## Start of the %post section with logging into /root/ks-post.log -%post --log=/root/ks-post.log - -## Set keymap to ch-fr. ## Doesn't survive a reboot. Or only touches the console -#localectl set-keymap ch-fr - -# Set new hostname. ## Doesn't survive a reboot -# hostnamectl set-hostname kickstarted-fedora - -# Update the system -dnf update -y - -## We also need to install a qemu guest agent, to allow the host to better interact with the guest -dnf install -y qemu-guest-agent - -# set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds. -sed -i 's/5/1/' /etc/default/grub - -# Update grub -grub2-mkconfig -o /boot/grub2/grub.cfg - -## Reboot the installer (doesn't work (tm)) -reboot - -## End of the %post section -%end \ No newline at end of file diff --git a/f34/vsxed.cfg b/f34/vsxed.cfg deleted file mode 100644 index b022891..0000000 --- a/f34/vsxed.cfg +++ /dev/null @@ -1,149 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# WHAT ? This Kickstart file that bootstraps a minimal fedora 34 server. -# 'v' for virtual machine, 's' for server, 'x' for xtrasmall, 'e' for efi, 'd' for development. - -# USAGE : Press the `tab` or 'e' key during POST and apend that after the 'quiet' string : -# inst.ks=https://git.phyllo.me/home/kickstart/raw/branch/master/f34/vsxed.cfg -# A shorter URL can also be used : -# inst.ks=https://url.phyllo.me/vsxed - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -# ATTENTION : DOESN'T WORK! -# ATTENTION : DOESN'T WORK! -# ATTENTION : DOESN'T WORK! -# ATTENTION : DOESN'T WORK! - - -## INSTALLATION SOURCE ## - -# Configure the cdrom as the installation method -cdrom - -# Set URL -url --url="http://download.fedoraproject.org/pub/fedora/linux/releases/34/Server/x86_64/os" - -## INSTALLATION TYPE ## - -# Perform Installation in text mode -text - -## REPOSITORIES ## - -# Add mirro and repo -url --mirrorlist="https://mirrors.fedoraproject.org/metalink?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 - -## USER RELATED ## - -# Keyboard layouts -> Doesn't seem to survive a reboot -keyboard --xlayouts='ch (fr)' - -# Set the system language to American English -lang en_US.UTF-8 - -# System timezone -timezone Europe/Paris --utc # Pour Paris ! - -# Set root password and activate the account -rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz. - -# Create user account -user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="test" - -## NETWORK RELATED ## - -# Configure Firewall -firewall --disabled - -# Configure Network Interfaces -network --onboot=yes --bootproto=dhcp --hostname=vsxed - -# Run the Setup Agent on first boot -firstboot --enable - -## DISK RELATED ## - -# Only use disk labelled as vda -ignoredisk --only-use=vda - -# System bootloader configuration -bootloader --location=mbr - -# WARNING : Dangerous command ! Will clear the Master Boot Record -zerombr - -# Partition clearing information -clearpart --all --initlabel --drives=vda - -# Disk partitioning information. -# Will create an efi partitition of 128 MiB, a boot partition of 350 MiB on disk vda using the ext4 filesystem. The remaining space will be used for root. -part /boot/efi --fstype="efi" --ondisk=vda --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi -part /boot --fstype="ext4" --ondisk=vda --size=350 --label=boot -part / --fstype="ext4" --ondisk=vda --grow --label=system - -## SOFTWARE ## - -# The --nocore option seems to imply that packages should be mentionned -%packages --excludedocs --instLangs=en --nocore --exclude-weakdeps -kernel -# kernel-core -bash -coreutils -microdnf -util-linux -tar -nano -sudo -glibc-minimal-langpack -glibc-langpack-en -langpacks-en --e2fsprogs --fuse-libs --gnupg2-smime --libss # used by e2fsprogs --pinentry --shared-mime-info --trousers --xkeyboard-config --sssd-client - -# Install software to allow the host to better interact with the guest (can't find the spice-vdagent package) -qemu-guest-agent -# spice-vdagent - -# To be removed if we want to redistribute as Fedora Remix. --fedora-logos --fedora-release-notes - -%end - -## POST-INSTALLATION SCRIPTS ## - -## Start of the %post section with logging into /root/ks-post.log -%post --log=/root/ks-post.log - -## Set keymap to ch-fr -localectl set-keymap ch-fr - -# Update the system -# dnf update -y - -# set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds. -sed -i 's/5/1/' /etc/default/grub - -# Update grub -grub2-mkconfig -o /boot/grub2/grub.cfg - -## Reboot the installer (doesn't work (tm)) -reboot - -## End of the %post section -%end \ No newline at end of file