From 0ca9087dcde96cc277f6a79dfba75ba9b0b4be64 Mon Sep 17 00:00:00 2001 From: Lukas Date: Sun, 14 Nov 2021 13:13:29 +0100 Subject: [PATCH] remove archive folder --- archive/bare-metal/bensd.cfg | 163 ---------------------------------- archive/iso/idhmd.cfg | 28 ------ archive/iso/idmd.cfg | 34 -------- archive/iso/imd.cfg | 27 ------ archive/rdmd.cfg | 39 --------- archive/rhamd.cfg | 17 ---- archive/rhimd.cfg | 21 ----- archive/vbnsd.cfg | 144 ------------------------------ archive/vdhamd.cfg | 14 --- archive/vdhimd.cfg | 14 --- archive/vdmd.cfg | 39 --------- archive/veedp.cfg | 38 -------- archive/vemdp.cfg | 32 ------- archive/vemsp.cfg | 112 ------------------------ archive/vendd.cfg | 164 ----------------------------------- archive/vensd.cfg | 108 ----------------------- archive/vhamd.cfg | 22 ----- archive/vhimd.cfg | 27 ------ archive/vhmd.cfg | 53 ----------- archive/vld.cfg | 69 --------------- archive/vmd.cfg | 69 --------------- 21 files changed, 1234 deletions(-) delete mode 100644 archive/bare-metal/bensd.cfg delete mode 100644 archive/iso/idhmd.cfg delete mode 100644 archive/iso/idmd.cfg delete mode 100644 archive/iso/imd.cfg delete mode 100644 archive/rdmd.cfg delete mode 100644 archive/rhamd.cfg delete mode 100644 archive/rhimd.cfg delete mode 100644 archive/vbnsd.cfg delete mode 100644 archive/vdhamd.cfg delete mode 100644 archive/vdhimd.cfg delete mode 100644 archive/vdmd.cfg delete mode 100644 archive/veedp.cfg delete mode 100644 archive/vemdp.cfg delete mode 100644 archive/vemsp.cfg delete mode 100644 archive/vendd.cfg delete mode 100644 archive/vensd.cfg delete mode 100644 archive/vhamd.cfg delete mode 100644 archive/vhimd.cfg delete mode 100644 archive/vhmd.cfg delete mode 100644 archive/vld.cfg delete mode 100644 archive/vmd.cfg diff --git a/archive/bare-metal/bensd.cfg b/archive/bare-metal/bensd.cfg deleted file mode 100644 index 4e999ac..0000000 --- a/archive/bare-metal/bensd.cfg +++ /dev/null @@ -1,163 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# WHAT ? Kickstart file that bootstraps a minimal fedora 34 server, vanilla. -# 'b' for bare-metal, 'e' for efi, 'n' for 'non-lvm', 's' for server, '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/leafs/bensd.cfg -# inst.ks=url.phyllo.me/bensd.cfg - -# ATTENTION : this kickstart file will automatically DESTROY the main NVME disk and all of its contents. -# Bye bye! - -## 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 ## - -# Set the keyboard layout -keyboard --xlayouts='ch (fr)' - -# Set the system language to American English -lang en_US.UTF-8 - -# System timezone -timezone Europe/Paris --utc - -# Set dummy encrypted root password and activate the root 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=bensd.cfg - -# Run the Setup Agent on first boot -firstboot --enable - -## 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 384 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=384 --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 - -# Instructions for mdev - -# Generate uuid with uuigen -# echo 60f4d34b-d1a1-4756-8ebe-37e2a6e0d05f > /sys/devices/pci0000\:00/0000\:00\:02.0/mdev_supported_types/i915-GVTg_V5_4/create -# Create virtual gpu -# echo f722c397-350c-4373-abb1-3fa7af20d7c5 > /sys/bus/pci/devices/0000\:00\:02.0/mdev_supported_types/i915-GVTg_V5_4/create - - -# Reference : -# * See here : https://wiki.archlinux.org/title/Intel_graphics#Enable_GuC_/_HuC_firmware_loading -# * And here : https://wiki.archlinux.org/title/Intel_GVT-g -# Post-script verification - -# [root@eos-h]# ls -all /etc/modules-load.d -# total 36 -# drwxr-xr-x. 2 root root 137 May 18 22:56 . -# drwxr-xr-x. 123 root root 8192 Jun 15 16:33 .. -# -rw-r--r--. 1 root root 6 May 18 22:55 kvmgt.conf -# -rw-r--r--. 1 root root 5 May 18 22:52 vfio.conf -# -rw-r--r--. 1 root root 17 May 18 22:52 vfio_iommu_type1.conf -# -rw-r--r--. 1 root root 10 May 18 22:56 vfio-mdev.conf -# -rw-r--r--. 1 root root 9 May 18 22:52 vfio-pci.conf -# -rw-r--r--. 1 root root 12 May 18 22:52 vfio_virqfd.conf - -# [root@eos-h]# cat /etc/default/grub -# GRUB_TIMEOUT=1 -# GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" -# GRUB_DEFAULT=saved -# GRUB_DISABLE_SUBMENU=true -# GRUB_TERMINAL_OUTPUT="console" -# GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora_fedora/root rhgb quiet intel_iommu=on intel_iommu=pt i915.enable_gvt=1 i915.enable_guc=2" -# GRUB_DISABLE_RECOVERY="true" -# GRUB_ENABLE_BLSCFG=true - - -# ############# -# Modify the file to add nested : /etc/modprobe.d/kvm.conf. -# nano /etc/modprobe.d/kvm.conf -# Uncomment the line related to your CPU : -# options kvm_intel nested=1 -# options kvm_amd nested=1 -# ############# \ No newline at end of file diff --git a/archive/iso/idhmd.cfg b/archive/iso/idhmd.cfg deleted file mode 100644 index d1f9dfa..0000000 --- a/archive/iso/idhmd.cfg +++ /dev/null @@ -1,28 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# What ? This kickstart file bootstraps a desktop hypervisor. -# 'i' for iso-based, 'd' for desktop, 'h' for hypervisor, 'm' for minimal, 'd' for development only. -# It requires the Fedora 34 server iso - -# 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/iso/idhmd.cfg - -# ATTENTION : this kickstart file will automatically DESTROY the main disk and all of its contents. -# Bye bye! - -%include https://git.phyllo.me/home/kickstart/raw/branch/master/leaves/bmd.cfg # Include bmd.cfg, a minimal system -%include https://git.phyllo.me/home/kickstart/raw/branch/master/iso/idmd.cfg # Include idmd.cfg, a desktop machine - -reboot --kexec # Reboot straight into the system after a successfull installation - -%post # Beginning of %post section - -dnf install -y qemu-kvm libvirt libvirt-daemon-config-network libvirt-daemon-kvm # Install minimal tools dedicated to virtualization. -dnf install -y virt-install virt-top libguestfs-tools python3-libguestfs guestfs-tools # Complementary tools useful for interacting with virtual machines. - -%end # End of the %post section \ No newline at end of file diff --git a/archive/iso/idmd.cfg b/archive/iso/idmd.cfg deleted file mode 100644 index 63ba932..0000000 --- a/archive/iso/idmd.cfg +++ /dev/null @@ -1,34 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# What ? This kickstart file bootstraps a desktop machine. -# 'i' for iso-based, 'd' for desktop, 'h' for hypervisor, 'm' for minimal, 'd' for development only. -# It requires the Fedora 34 server iso - -# 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/iso/idmd.cfg - -# ATTENTION : this kickstart file will automatically DESTROY the main disk and all of its contents. -# Bye bye! - -%include https://git.phyllo.me/home/kickstart/raw/branch/master/leaves/bmd.cfg # Include bmd.cfg, a minimal system - -reboot --kexec # Reboot straight into the system after a successfull installation - -%post # Beginning of the post-installation section. We put that here because the iso file might not include those packages. - -dnf install -y gnome-shell gnome-terminal nano # Minimal GNOME shell or desktop environment plus the nano 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 the 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 install -y gnome-initial-setup # Add GNOME initial setup too. Does work. -dnf remove -y gnome-tour # We don't want GNOME-tour to open at launch so we delete it - -systemctl set-default graphical.target # Set the desktop environment as the default booting target with systemd. Would this command do the trick ? (outside the post or package section) xconfig --startxonboot - -%end # End of the %post section \ No newline at end of file diff --git a/archive/iso/imd.cfg b/archive/iso/imd.cfg deleted file mode 100644 index bb9bee0..0000000 --- a/archive/iso/imd.cfg +++ /dev/null @@ -1,27 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# What ? This kickstart file automatically deploys a minimal system. -# 'i' for iso-based, 'm' for minimal, 'd' for development only. -# It requires the Fedora 34 server iso - -# 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/iso/imd.cfg - -# ATTENTION : this kickstart file will automatically DESTROY the main disk and all of its contents. -# Bye bye! - -%include https://git.phyllo.me/home/kickstart/raw/branch/master/leaves/bmd.cfg # Include bmd.cfg, a minimal system - -firstboot --enable --reconfig # Initial Setup will start after the first reboot -reboot --kexec # Reboot straight into the system after a successfull installation - -%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies. - -initial-setup # Install the initial setup package. - -%end # End of the packages section \ No newline at end of file diff --git a/archive/rdmd.cfg b/archive/rdmd.cfg deleted file mode 100644 index a24d0dd..0000000 --- a/archive/rdmd.cfg +++ /dev/null @@ -1,39 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# What ? This kickstart file bootstraps a minimal GNOME-based desktop-oriented virtual machine. -# 'v' for virtual machine, 'd' for desktop, 'm' for minimal, 'd' for development only. - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -%include vmd.cfg # Include vmd.cfg, a minimal system based on Fedora 34. - -xconfig --startxonboot --defaultdesktop=GNOME # Start GNOME on boot. Althought it says X, it works as well with Wayland -# firstboot --enable --reconfig # Initial Setup will start after the first reboot - -%packages # Beginning of the post-installation section - -spice-vdagent # Try to install spice-vdagent after the installation is done -dejavu-sans-mono-fonts # the gnome-shell package doesn't include much fonts by default, resulting in weird spacings in the gnome-terminal. -elementary-wallpapers-gnome.noarch # Gorgeous wallpapers -wpa_supplicant # WPA Supplicant for Linux. Not integrated by default in gnome-shell, but necessary to configure wireless networks through the Network Manager. -# initial-setup-gui # Wasn't able to make it working. -# gnome-initial-setup # Add GNOME initial setup too. Does work. --gnome-tour # We don't want GNOME-tour to open at launch so we delete it -gnome-shell -gnome-terminal -nano # Minimal GNOME shell or desktop environment plus the nano text editor - -%end - -%post - -# systemctl set-default graphical.target # Set the desktop environment as the default booting target with systemd. -# Alternatively, that could be tested outside of the post section xconfig --startxonboot --defaultdesktop=GNOME - -%end # End of the %post section \ No newline at end of file diff --git a/archive/rhamd.cfg b/archive/rhamd.cfg deleted file mode 100644 index e87fb4b..0000000 --- a/archive/rhamd.cfg +++ /dev/null @@ -1,17 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# What ? This Kickstart file bootstraps a minimal headless guest hypervisor optimized for AMD CPUs. -# 'b' for base, 'h' for hypervisor', 'a' for amd, 'm' for minimal, 'd' for development only. - -%post # Beginning of %post section - -sed -i 's/\(quiet\)/\1 amd_iommu=on amd_iommu=pt rd.driver.pre=vfio-pci/i' /etc/default/grub # Load kernel modules in grub. -dracut --force # Regenerate initramfs -grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub - -%end # End of the %post section \ No newline at end of file diff --git a/archive/rhimd.cfg b/archive/rhimd.cfg deleted file mode 100644 index 8e96162..0000000 --- a/archive/rhimd.cfg +++ /dev/null @@ -1,21 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# What ? This Kickstart file provides a base configuration for an hypervisor installed on Intel(tm) CPUs and Intel(tm) Graphics. -# 'b' for base, 'i' for intel, 'm' for minimal, 'd' for development only. - -%post # Beginning of %post section - -sed -i 's/\(quiet\)/\1 intel_iommu=on iommu=pt rd.driver.pre=vfio-pci i915.enable_gvt=1/i' /etc/default/grub # Load kernel modules in grub. -echo "kvmgt" > /etc/modules-load.d/kvmgt.conf # Load specific kernel modules kvmgt and vfio-mdev, for Intel GVT-g and Nvidia -echo "vfio-mdev" > /etc/modules-load.d/vfio-mdev.conf # Load specific kernel modules kvmgt and vfio-mdev, for Intel GVT-g and Nvidia - -dracut --add-drivers "vfio-mdev kvmgt" --force # Instruct dracut to load the vfio drivers: -dracut --force # Regenerate initramfs -grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub - -%end # End of the %post section \ No newline at end of file diff --git a/archive/vbnsd.cfg b/archive/vbnsd.cfg deleted file mode 100644 index 391ec0d..0000000 --- a/archive/vbnsd.cfg +++ /dev/null @@ -1,144 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# WHAT ? Kickstart file that bootstraps a minimal fedora 34 server, vanilla. -# 'v' for virtual machine, 'b' for bios, 'n' for 'no lvm', 's' for server, '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/leafs/vbnsd.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 - -@core -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 ## - -%post --log=/root/ks-post.log ## Start of the %post section with logging into /root/ks-post.log - -localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked -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/archive/vdhamd.cfg b/archive/vdhamd.cfg deleted file mode 100644 index 14505a0..0000000 --- a/archive/vdhamd.cfg +++ /dev/null @@ -1,14 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# What ? This Kickstart file bootstraps a desktop-based headless hypervisor optimized for AMD CPUs. -# 'v' for virtual machine, 'd' for desktop, 'h' for hypervisor', 'a' for amd, 'm' for minimal, 'd' for development only. - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -%include vhamd.cfg # Includes vhamd.cfg, a hypervisor. diff --git a/archive/vdhimd.cfg b/archive/vdhimd.cfg deleted file mode 100644 index e34abf5..0000000 --- a/archive/vdhimd.cfg +++ /dev/null @@ -1,14 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# What ? This Kickstart file bootstraps a desktop-based hypervisor optimized for AMD CPUs and Intel Graphics. -# 'v' for virtual machine, 'd' for desktop, 'h' for hypervisor', 'i' for intel, 'm' for minimal, 'd' for development only. - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -%include vhimd.cfg # Includes vhimd.cfg, a hypervisor. \ No newline at end of file diff --git a/archive/vdmd.cfg b/archive/vdmd.cfg deleted file mode 100644 index a24d0dd..0000000 --- a/archive/vdmd.cfg +++ /dev/null @@ -1,39 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# What ? This kickstart file bootstraps a minimal GNOME-based desktop-oriented virtual machine. -# 'v' for virtual machine, 'd' for desktop, 'm' for minimal, 'd' for development only. - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -%include vmd.cfg # Include vmd.cfg, a minimal system based on Fedora 34. - -xconfig --startxonboot --defaultdesktop=GNOME # Start GNOME on boot. Althought it says X, it works as well with Wayland -# firstboot --enable --reconfig # Initial Setup will start after the first reboot - -%packages # Beginning of the post-installation section - -spice-vdagent # Try to install spice-vdagent after the installation is done -dejavu-sans-mono-fonts # the gnome-shell package doesn't include much fonts by default, resulting in weird spacings in the gnome-terminal. -elementary-wallpapers-gnome.noarch # Gorgeous wallpapers -wpa_supplicant # WPA Supplicant for Linux. Not integrated by default in gnome-shell, but necessary to configure wireless networks through the Network Manager. -# initial-setup-gui # Wasn't able to make it working. -# gnome-initial-setup # Add GNOME initial setup too. Does work. --gnome-tour # We don't want GNOME-tour to open at launch so we delete it -gnome-shell -gnome-terminal -nano # Minimal GNOME shell or desktop environment plus the nano text editor - -%end - -%post - -# systemctl set-default graphical.target # Set the desktop environment as the default booting target with systemd. -# Alternatively, that could be tested outside of the post section xconfig --startxonboot --defaultdesktop=GNOME - -%end # End of the %post section \ No newline at end of file diff --git a/archive/veedp.cfg b/archive/veedp.cfg deleted file mode 100644 index 3cc9cb1..0000000 --- a/archive/veedp.cfg +++ /dev/null @@ -1,38 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# WHAT ? This Kickstart file bootstraps an extended desktop-oriented virtual machine. -# 'v' for virtual machine, 'e' for efi, 'e' for extended, 'd' for desktop, 'd' for development only. - -# 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/leafs/veedp.cfg -# A shorter URL can also be used : -# inst.ks=https://url.phyllo.me/veedp - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -%include https://git.phyllo.me/home/kickstart/raw/branch/master/leafs/vemdp.cfg # Include vemdp.cfg as base -%include https://git.phyllo.me/home/kickstart/raw/branch/master/leafs/vemsp.cfg # Include vemsp.cfg as base - -%post - -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 vlc # Install VLC media player -dnf install -y thunderbird-wayland # Install the mail client Thunderbird - -flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo # Add Flathub repository -flatpak install -y flathub org.zotero.Zotero # Install Zotero -flatpak install -y flathub com.bitwarden.desktop # Install Bitwarden -flatpak install -y flathub com.visualstudio.code # Install VScode -flatpak install -y flathub net.cozic.joplin_desktop # Install Joplin - -%end # End of the %post section \ No newline at end of file diff --git a/archive/vemdp.cfg b/archive/vemdp.cfg deleted file mode 100644 index 1575a04..0000000 --- a/archive/vemdp.cfg +++ /dev/null @@ -1,32 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# WHAT ? This Kickstart file bootstraps a minimal desktop-oriented virtual machine. -# 'v' for virtual machine, 'e' for efi, 'm' for minimal, 'd' for desktop, 'p' for production-ready. - -# 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/leafs/vemdp.cfg -# A shorter URL can also be used : -# inst.ks=https://url.phyllo.me/vemdp - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -%include https://git.phyllo.me/home/kickstart/raw/branch/master/leafs/vemsp.cfg # Include vemsp.cfg as base - -%post - -dnf install -y gnome-shell gnome-terminal nano # Minimal GNOME shell or desktop environment plus the text nano 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 - -systemctl set-default graphical.target # Set the desktop environment as the default booting target with systemd - -%end # End of the %post section \ No newline at end of file diff --git a/archive/vemsp.cfg b/archive/vemsp.cfg deleted file mode 100644 index 6008558..0000000 --- a/archive/vemsp.cfg +++ /dev/null @@ -1,112 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# WHAT ? This Kickstart file bootstraps a minimal server-oriented virtual machine. -# 'v' for virtual machine, 'e' for efi, 'm' for minimal, 's' for server, 'p' for production-ready. - -# 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/leafs/vemsp.cfg -# A shorter URL can also be used : -# inst.ks=https://url.phyllo.me/vemsp - -# 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 - -## USER RELATED ## - -# Set the keyboard layout -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 dummy encrypted root password and activate the root account -rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz. - -# Create "lukas" user account -user --name=lukas --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="test" - -## NETWORK RELATED ## - -# Deactivate the firewall -firewall --enabled - -# Configure Network Interfaces -network --onboot=yes --bootproto=dhcp --hostname=vemsp - -# Run the Setup Agent on first boot -firstboot --enable - -## DISK RELATED ## - -# Only use disk labelled as vda -ignoredisk --only-use=vda - -# WARNING : Dangerous command ! Will clear the Master Boot Record -zerombr - -# Partition clearing information -clearpart --all --initlabel - -# Disk partitioning information. -# Will create an efi partitition of 128 MiB, a boot partition of 384 MiB on disk vda using the ext4 filesystem. The remaining space will be used for root. -part / --fstype="ext4" --grow -part /boot/efi --fstype="efi" --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi -part /boot --fstype="ext4" --size=384 --label=boot - -# System timezone -timezone Europe/Paris --utc - -## SOFTWARE ## - -# Install packages for the server environment. 'Core' and 'Base' are always selected -%packages - -@core -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 SCRIPT ## - -%post --log=/root/ks-post.log ## Start of the %post section with logging into /root/ks-post.log - -localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked -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/archive/vendd.cfg b/archive/vendd.cfg deleted file mode 100644 index 9344752..0000000 --- a/archive/vendd.cfg +++ /dev/null @@ -1,164 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# WHAT ? This Kickstart file that bootstraps a minimal fedora 34 server. -# 'v' for virtual machine, 'e' for efi, 'n' for 'non-lvm', 'd' for desktop, '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/leafs/vendd.cfg -# A shorter URL can also be used : -# inst.ks=https://url.phyllo.me/vendd - -# 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=vendd - -# 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/archive/vensd.cfg b/archive/vensd.cfg deleted file mode 100644 index 5f7c311..0000000 --- a/archive/vensd.cfg +++ /dev/null @@ -1,108 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# WHAT ? This Kickstart file bootstraps a minimal server-oriented virtual machine. -# 'v' for virtual machine, 'e' for efi, 'n' for 'no lvm', 's' for server, '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/leafs/vensd.cfg -# A shorter URL can also be used : -# inst.ks=https://url.phyllo.me/vensd - -# 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 ## - -# Set the keyboard layout -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 dummy encrypted root password and activate the root account -rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz. - -# Create "test" user account and set dummy encrypted password -user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="test" - -## NETWORK RELATED ## - -# Deactivate the firewall -firewall --disabled - -# Configure Network Interfaces -network --onboot=yes --bootproto=dhcp --hostname=vensd - -# 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 -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 ## - -%post --log=/root/ks-post.log ## Start of the %post section with logging into /root/ks-post.log - -localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked -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/archive/vhamd.cfg b/archive/vhamd.cfg deleted file mode 100644 index 8d3c503..0000000 --- a/archive/vhamd.cfg +++ /dev/null @@ -1,22 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# What ? This Kickstart file bootstraps a minimal headless guest hypervisor optimized for AMD CPUs. -# 'v' for virtual machine, 'h' for hypervisor', 'a' for amd, 'm' for minimal, 'd' for development only. - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -%include vhmd.cfg # Includes vhmd.cfg, a hypervisor. - -%post # Beginning of %post section - -sed -i 's/\(quiet\)/\1 amd_iommu=on amd_iommu=pt rd.driver.pre=vfio-pci/i' /etc/default/grub # Load kernel modules in grub. -dracut --force # Regenerate initramfs -grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub - -%end # End of the %post section \ No newline at end of file diff --git a/archive/vhimd.cfg b/archive/vhimd.cfg deleted file mode 100644 index 1ce0b73..0000000 --- a/archive/vhimd.cfg +++ /dev/null @@ -1,27 +0,0 @@ - GNU nano 5.8 remote-vhimd.cfg -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# What ? This Kickstart file bootstraps a minimal headless hypervisor optimized for Intel CPUs and Intel Graphics. -# 'v' for virtual machine, 'h' for hypervisor', 'i' for intel, 'm' for minimal, 'd' for development only. - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -%include vhmd.cfg # Includes vhmd.cfg, a hypervisor. - -%post # Beginning of %post section - -sed -i 's/\(quiet\)/\1 intel_iommu=on iommu=pt rd.driver.pre=vfio-pci i915.enable_gvt=1/i' /etc/default/grub # Load kernel modules in grub. -echo "kvmgt" > /etc/modules-load.d/kvmgt.conf # Load specific kernel modules kvmgt and vfio-mdev, for Intel GVT-g and Nvidia -echo "vfio-mdev" > /etc/modules-load.d/vfio-mdev.conf # Load specific kernel modules kvmgt and vfio-mdev, for Intel GVT-g and Nvidia - -dracut --add-drivers "vfio-mdev kvmgt" --force # Instruct dracut to load the vfio drivers: -dracut --force # Regenerate initramfs -grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub - -%end # End of the %post section \ No newline at end of file diff --git a/archive/vhmd.cfg b/archive/vhmd.cfg deleted file mode 100644 index 97ba0d7..0000000 --- a/archive/vhmd.cfg +++ /dev/null @@ -1,53 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# What ? This kickstart file provides the base configuration for a hypervisor or virtual machine monitor. -# 'v' for virtual machine, 'h' for hypervisor', 'm' for minimal, 'd' for development only. - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -%include vmd.cfg # Include vmd.cfg, a minimal system based on Fedora 34. - -%packages - -qemu-kvm -libvirt -libvirt-daemon-config-network -libvirt-daemon-kvm # Install minimal tools dedicated to virtualization. -virt-install -virt-top -libguestfs-tools -python3-libguestfs -guestfs-tools # Complementary tools useful for interacting with v> - -%end - -%post # Beginning of %post section - -# usermod -a -G libvirt liveuser # Make user "liveuser" part of the existing libvirt group to allow it to interact with the guest-hypervisor. # It won't work with initial-setup - -# Load kernel modules by adding vfio, vfio_pci, vfio_iommu_type1, vfio_virqfd -echo "vfio" > /etc/modules-load.d/vfio.conf -echo "vfio-pci" > /etc/modules-load.d/vfio-pci.conf -echo "vfio_iommu_type1" > /etc/modules-load.d/vfio_iommu_type1.conf -echo "vfio_virqfd" > /etc/modules-load.d/vfio_virqfd.conf - -dracut --add-drivers "vfio vfio-pci vfio_iommu_type1 vfio_virqfd" --force # Instruct dracut to load the vfio drivers: -mkdir /var/lib/libvirt/iso # Create a directory to store iso images -# chown liveuser:liveuser /var/lib/libvirt/iso # Make the user "liveuser" the owner of this directory -virsh pool-create-as --name iso --type dir --target /var/lib/libvirt/iso # Make libvirt aware of this new directory by creating a so-called `pool` within this directory -mkdir /var/lib/libvirt/rom # Create a directory to store rom files -# chown liveuser:liveuser /var/lib/libvirt/rom # Make the user "test" its owner -virsh pool-create-as --name rom --type dir --target /var/lib/libvirt/rom # Make libvirt aware of this new directory by creating a so-called `pool` within this directory -# chown liveuser:liveuser /var/lib/libvirt/images # Make the user "test" the owner of this directory - -nmcli con add ifname br0 type bridge con-name br0 # Add a network bridge -nmcli con add type bridge-slave ifname enp1s0 master br0 -nmcli con up br0 - -%end # End of the %post section \ No newline at end of file diff --git a/archive/vld.cfg b/archive/vld.cfg deleted file mode 100644 index 720b349..0000000 --- a/archive/vld.cfg +++ /dev/null @@ -1,69 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# What ? This kickstart file bootstraps a minimal live virtual machine based on Fedora 34 server. -# 'v' for virtual machine, 'l' for live, 'd' for development only. - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -text # Perform installation in text mode - -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 -# #repo --name=updates-testing --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch -url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora updates mirror - -# keyboard --xlayouts='ch (fr)' # set keyboard layouts for Romandie # Unnecessary if using inital-setup -# lang en_US.UTF-8 # Set system language to American English # Unnecessary if using inital-setup -# timezone Europe/Paris --utc # Set System timezone to Paris # Unnecessary if using inital-setup -# -# # Set dummy encrypted root password and activate the root account -# rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz. -# # rootpw --lock --iscrypted locked # Lock the root account -# -# # Create "test" user account # Unnecessary if using inital-setup -# user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="test" -# -# firewall --enabled # Make sure the firewall is enabled -# services --enabled=NetworkManager --disabled=sshd -# network --bootproto=dhcp --device=link --activate -# # network --onboot=yes --bootproto=dhcp --hostname=vmd # Configure network interfaces and set hostname -# -# ignoredisk --only-use=vda # Only use disk labelled as vda -# zerombr # WARNING : Dangerous command ! Will clear the Master Boot Record -# clearpart --all --initlabel --drives=vda # Partition clearing information. This setup uses GPT by default. -# part /boot/efi --fstype="efi" --ondisk=vda --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi # Will create an efi partitition of 128 MiB (vda1) -# part /boot --fstype="ext4" --ondisk=vda --size=384 --label=boot # Create a boot partition of 384 MiB using the ext4 filesystem (vda2). -# part / --fstype="ext4" --ondisk=vda --grow --label=root # The remaining space will be used for root (vda3). -# bootloader --timeout=1 # Set the Grub bootloader timeout to 1 -# -# poweroff # Reboot the system after the installation is successfully completed -# # firstboot --enable # Initial Setup will start after the first reboot -# -# %packages # Beginning of the packages section -# -# @core # minimal installation -# @guest-agents # qemu-guest agent -# pciutils # Pciutils provides lspci commandline tool and is not installed by default -# # initial-setup # Install the initial setup package. For the GUI version, use initial-setup-gui instead. -# # -fedora-release # Fedora release-notes -# # -fedora-release-common # Fedora release files -# # -fedora-release-identity-basic # ??? -# # generic-release -# # generic-release-common -# # generic-release-notes -# -# %end # End of the packages section -# -# %post # Beginning of the post-installation section -# -# 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 # End of the %post section \ No newline at end of file diff --git a/archive/vmd.cfg b/archive/vmd.cfg deleted file mode 100644 index 05278c1..0000000 --- a/archive/vmd.cfg +++ /dev/null @@ -1,69 +0,0 @@ -# __ ____ ____ _____ -# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ -# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ -# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / -# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ -# /_/ /____/ - -# What ? This kickstart file bootstraps a minimal virtual machine based on Fedora 34 server. -# 'v' for virtual machine, 'm' for minimal, 'd' for development only. - -# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents. -# Bye bye! - -text # Perform installation in text mode - -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 -# #repo --name=updates-testing --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch -url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora updates mirror - -keyboard --xlayouts='ch (fr)' # set keyboard layouts for Romandie # Unnecessary if using inital-setup -lang en_US.UTF-8 # Set system language to American English # Unnecessary if using inital-setup -timezone Europe/Paris --utc # Set System timezone to Paris # Unnecessary if using inital-setup - -# Set dummy encrypted root password and activate the root account -rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz. -# rootpw --lock --iscrypted locked # Lock the root account - -# Create "test" user account # Unnecessary if using inital-setup -user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="test" - -firewall --enabled # Make sure the firewall is enabled -services --enabled=NetworkManager --disabled=sshd -network --bootproto=dhcp --device=link --activate -# network --onboot=yes --bootproto=dhcp --hostname=vmd # Configure network interfaces and set hostname - -ignoredisk --only-use=vda # Only use disk labelled as vda -zerombr # WARNING : Dangerous command ! Will clear the Master Boot Record -clearpart --all --initlabel --drives=vda # Partition clearing information. This setup uses GPT by default. -part /boot/efi --fstype="efi" --ondisk=vda --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi # Will create an efi partitition of 128 MiB (vda1) -part /boot --fstype="ext4" --ondisk=vda --size=384 --label=boot # Create a boot partition of 384 MiB using the ext4 filesystem (vda2). -part / --fstype="ext4" --ondisk=vda --grow --label=root # The remaining space will be used for root (vda3). -bootloader --timeout=1 # Set the Grub bootloader timeout to 1 - -poweroff # Reboot the system after the installation is successfully completed -# firstboot --enable # Initial Setup will start after the first reboot - -%packages # Beginning of the packages section - -@core # minimal installation -@guest-agents # qemu-guest agent -pciutils # Pciutils provides lspci commandline tool and is not installed by default -# initial-setup # Install the initial setup package. For the GUI version, use initial-setup-gui instead. -# -fedora-release # Fedora release-notes -# -fedora-release-common # Fedora release files -# -fedora-release-identity-basic # ??? -# generic-release -# generic-release-common -# generic-release-notes - -%end # End of the packages section - -%post # Beginning of the post-installation section - -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 # End of the %post section \ No newline at end of file