From 9cd3f351b1210091d764afe53a29d2b768bced0f Mon Sep 17 00:00:00 2001 From: Lukas Date: Sat, 19 Feb 2022 22:56:17 +0100 Subject: [PATCH] new live-related recipes --- recipes/live-desktop-hypervisor-amdcpu.cfg | 36 ++++++++++++++++++ ...e-desktop-hypervisor-intelcpu-intelgpu.cfg | 37 +++++++++++++++++++ recipes/live-desktop-hypervisor-intelcpu.cfg | 36 ++++++++++++++++++ 3 files changed, 109 insertions(+) create mode 100644 recipes/live-desktop-hypervisor-amdcpu.cfg create mode 100644 recipes/live-desktop-hypervisor-intelcpu-intelgpu.cfg create mode 100644 recipes/live-desktop-hypervisor-intelcpu.cfg diff --git a/recipes/live-desktop-hypervisor-amdcpu.cfg b/recipes/live-desktop-hypervisor-amdcpu.cfg new file mode 100644 index 0000000..fbe3864 --- /dev/null +++ b/recipes/live-desktop-hypervisor-amdcpu.cfg @@ -0,0 +1,36 @@ +# __ ____ ____ _____ +# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ +# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ +# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / +# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ +# /_/ /____/ + +# What ? This kickstart file contains the recipe to bootstrap a live desktop hypervisor configured for AMD (tm) CPUs. + +# Flattening + +# This file needs to be flattened: flattening is like cooking ingredients in a specific order to make a dish. +# You can do that with the ksflatten tool provided by the pykickstart package on Fedora: +# ksflatten -c live-desktop-hypervisor-amdcpu -o ../dishes/live-phyllome-desktop-amdcpu.cfg + +# Instructions for creating an ISO file + +# Temporary disable SELinux with +# setenforce 0 +# Use the following command to create an ISO file, as the root user: +# livemedia-creator --make-iso --ks ../dishes/live-phyllome-desktop-amdcpu.cfg --no-virt --iso-only --iso-name phyllome-desktop-amdcpu-x86_64.iso --releasever 35 + +# The resulting ISO can be tested with qemu-kvm, using the following these two commands, as *root*: +# UEFI test: +# qemu-kvm -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -m 2048 -vga qxl phyllome-desktop-amdcpu-x86_64.iso +# BIOS test: +# qemu-kvm -m 2048 -vga qxl phyllome-desktop-amdcpu-x86_64.iso + +%include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora +%include ../ingredients/base-storage-live.cfg # a base storage for live systems +%include ../ingredients/base-live.cfg # A minimal base for live systems +%include ../ingredients/base-desktop-gnome.cfg # A desktop environment based on GNOME Shell +%include ../ingredients/base-desktop-virtual-machine-manager.cfg # the virtual machine manager +%include ../ingredients/base-live-desktop-quirks.cfg # Some live-related quirks +%include ../ingredients/base-hypervisor.cfg # A base hypervisor +%include ../ingredients/base-hypervisor-amdcpu.cfg # Specific virtualization configuration for AMD (tm) CPUs \ No newline at end of file diff --git a/recipes/live-desktop-hypervisor-intelcpu-intelgpu.cfg b/recipes/live-desktop-hypervisor-intelcpu-intelgpu.cfg new file mode 100644 index 0000000..1faced6 --- /dev/null +++ b/recipes/live-desktop-hypervisor-intelcpu-intelgpu.cfg @@ -0,0 +1,37 @@ +# __ ____ ____ _____ +# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ +# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ +# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / +# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ +# /_/ /____/ + +# What ? This kickstart file contains the recipe to bootstrap a live desktop hypervisor configured for Intel(tm) CPU and Intel(tm) GPUs compatible with vfio-mdev (pre-Tiger Lake) + +# Flattening + +# This file needs to be flattened: flattening is like cooking ingredients in a specific order to make a dish. +# You can do that with the ksflatten tool provided by the pykickstart package on Fedora: +# ksflatten -c live-desktop-hypervisor-intelcpu-intelgpu -o ../dishes/live-phyllome-desktop-intelcpu-intelgpu.cfg + +# Instructions for creating an ISO file: + +# Temporary disable SELinux with +# setenforce 0 +# Use the following command to create an ISO file, as the root user: +# livemedia-creator --make-iso --ks ../dishes/live-phyllome-desktop-intelcpu-intelgpu.cfg --no-virt --iso-only --iso-name phyllome-desktop-intelcpu-intelgpu-x86_64.iso --releasever 35 + +# The resulting ISO can be tested with qemu-kvm, using the following these two commands, as *root*: +# UEFI test: +# qemu-kvm -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -m 2048 -vga qxl phyllome-desktop-intelcpu-intelgpu-x86_64.iso +# BIOS test: +# qemu-kvm -m 2048 -vga qxl phyllome-desktop-intelcpu-intelgpu-x86_64.iso + +%include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora +%include ../ingredients/base-storage-live.cfg # a base storage for live systems +%include ../ingredients/base-live.cfg # A minimal base for live systems +%include ../ingredients/base-desktop-gnome.cfg # A desktop environment based on GNOME Shell +%include ../ingredients/base-desktop-virtual-machine-manager.cfg # the virtual machine manager +%include ../ingredients/base-live-desktop-quirks.cfg # Some live-related quirks +%include ../ingredients/base-hypervisor.cfg # A base hypervisor +%include ../ingredients/base-hypervisor-intelcpu.cfg # Specific virtualization configuration for Intel (tm) CPUs +%include ../ingredients/base-hypervisor-intelgpu.cfg # Specific virtualization configuration for Intel (tm) GPUs from 4th to the 9th generation (compatible with vfio-mdev). \ No newline at end of file diff --git a/recipes/live-desktop-hypervisor-intelcpu.cfg b/recipes/live-desktop-hypervisor-intelcpu.cfg new file mode 100644 index 0000000..c6f663f --- /dev/null +++ b/recipes/live-desktop-hypervisor-intelcpu.cfg @@ -0,0 +1,36 @@ +# __ ____ ____ _____ +# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/ +# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \ +# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ / +# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ +# /_/ /____/ + +# What ? This kickstart file contains the recipe to bootstrap a live desktop hypervisor machine configured for Intel(tm) CPU. + +# Flattening + +# This file needs to be flattened: flattening is like cooking ingredients in a specific order to make a dish. +# You can do that with the ksflatten tool provided by the pykickstart package on Fedora: +# ksflatten -c live-desktop-hypervisor-intelcpu.cfg -o ../dishes/live-phyllome-desktop-intelcpu.cfg + +# Instructions for creating an ISO file: + +# Temporary disable SELinux with +# setenforce 0 +# Use the following command to create an ISO file, as the root user: +# livemedia-creator --make-iso --ks ../dishes/live-phyllome-desktop-intelcpu.cfg --no-virt --iso-only --iso-name phyllome-desktop-intelcpu-x86_64.iso --releasever 35 + +# The resulting ISO can be tested with qemu-kvm, using the following these two commands, as *root*: +# UEFI test: +# qemu-kvm -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -m 2048 -vga qxl phyllome-desktop-intelcpu-x86_64.iso +# BIOS test: +# qemu-kvm -m 2048 -vga qxl phyllome-desktop-intelcpu-x86_64.iso + +%include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora +%include ../ingredients/base-storage-live.cfg # a base storage for live systems +%include ../ingredients/base-live.cfg # A minimal base for live systems +%include ../ingredients/base-desktop-gnome.cfg # A desktop environment based on GNOME Shell +%include ../ingredients/base-desktop-virtual-machine-manager.cfg # the virtual machine manager +%include ../ingredients/base-live-desktop-quirks.cfg # Some live-related quirks +%include ../ingredients/base-hypervisor.cfg # A base hypervisor +%include ../ingredients/base-hypervisor-intelcpu.cfg # Specific virtualization configuration for Intel (tm) CPUs