create new directories

it follows a cuisine analogy,
with dishes made followed a recipe,
using ingredients
This commit is contained in:
lukas 2022-01-03 21:21:23 +01:00
parent 1b6f725861
commit f0aa553e04
78 changed files with 406 additions and 178 deletions

View File

@ -1,8 +0,0 @@
# __ ____ ____ _____
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
# /_/ /____/
# What ? When flattened, this file will result in a stand-alone kickstart file that can be automatically deploy into a server-oriented live system with a hypervisor optimized for AMD (tm) CPUs

View File

@ -1,8 +0,0 @@
# __ ____ ____ _____
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
# /_/ /____/
# What ? When flattened, this file will result in a stand-alone kickstart file that can be automatically deploy into a server-oriented live system with a hypervisor optimized for Intel (tm) CPUs and GPUs

View File

@ -1,8 +0,0 @@
# __ ____ ____ _____
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
# /_/ /____/
# What ? When flattened, this file will result in a stand-alone kickstart file that can be automatically deploy into a server-oriented live system with a hypervisor

View File

@ -1,8 +0,0 @@
# __ ____ ____ _____
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
# /_/ /____/
# What ? When flattened, this file will result in a stand-alone kickstart file that can be automatically deploy into a server-oriented live system.

View File

@ -1,24 +0,0 @@
# __ ____ ____ _____
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
# /_/ /____/
# What ? This kickstart file bootstraps a desktop hypervisor configured for Intel(tm) CPU and Intel(tm) GPUs compatible with vfio-mdev (pre-Tiger Lake)
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c desktop-hypervisor-intelcpu-intelgpu.cfg -o ../leaves/phyllome-desktop-intelcpu-intelgpu.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage
%include base.cfg # A minimal machine
%include base-desktop-gnome.cfg # A desktop environment that ships with virtual machine manager
%include base-desktop-virtual-machine-manager.cfg # the virtual machine manager
%include base-hypervisor.cfg # A base hypervisor
%include base-hypervisor-intelcpu.cfg # Specific virtualization configuration for Intel (tm) CPUs
%include base-hypervisor-intelgpu.cfg # Specific virtualization configuration for Intel (tm) GPUs from 4th to the 9th generation (compatible with vfio-mdev).
%include base-initial-setup-gnome.cfg # Includes initial-setup for GNOME
reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -0,0 +1,260 @@
# Generated by pykickstart v3.34
#version=DEVEL
# X Window System configuration information
xconfig --defaultdesktop=GNOME --startxonboot
# Keyboard layouts
keyboard --xlayouts='ch (fr)'
# Root password
rootpw --iscrypted --lock locked
# System language
lang en_US.UTF-8
# Reboot after installation
reboot --kexec
# Use text mode install
text
# Network information
network --bootproto=dhcp --device=link --hostname=phyllome-alpha --activate
# Firewall configuration
firewall --enabled --service=mdns
# Use network installation
url --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch"
repo --name="fedora" --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
repo --name="updates" --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
# System timezone
timezone Europe/Paris --utc
# SELinux configuration
selinux --enforcing
# System services
services --disabled="sshd" --enabled="NetworkManager,libvirtd"
# System bootloader configuration
bootloader --location=mbr --timeout=1
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part /boot/efi --fstype="efi" --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi
part /boot --fstype="ext4" --size=384 --label=boot
part / --fstype="ext4" --grow --label=root
%post --logfile=/opt/base.log
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked.
dnf update -y # Update the system
grub2-mkconfig -o /boot/grub2/grub.cfg # Unsure it is actually useful
%end
%post --nochroot --logfile=/mnt/sysimage/opt/base-desktop-gnome.log
cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.background.gschema.override<< EOF
[org.gnome.desktop.background]
picture-uri='file:///usr/share/backgrounds/elementary/Morskie Oko.jpg'
EOF
cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.media-handling.gschema.override<< EOF
[org.gnome.desktop.media-handling]
automount-open=false
autorun-never=true
EOF
cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.Terminal.gschema.override<< EOF
[org.gnome.Terminal.Legacy.Profile]
font='DejaVu Sans Mono 12'
use-system-font=false
audible-bell=false
EOF
cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.wm.preferences.gschema.override<< EOF
[org.gnome.desktop.wm.preferences]
button-layout=':minimize,maximize,close'
EOF
cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.a11y.gschema.override<< EOF
[org.gnome.desktop.a11y]
always-show-universal-access-status=true
EOF
cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.override<< EOF
[org.gnome.desktop.interface]
enable-animations=false
EOF
cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.privacy.gschema.override<< EOF
[org.gnome.desktop.privacy]
remove-old-temp-files=true
remember-recent-files=false
remember-app-usage=false
disable-camera=true
disable-microphone=true
disable-sound-output=true
EOF
cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.search-providers.gschema.override<< EOF
[org.gnome.desktop.search-providers]
disable-external=true
EOF
cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.notifications.gschema.override<< EOF
[org.gnome.desktop.notifications.application]
enable-sound-alerts=false
EOF
cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.sound.gschema.override<< EOF
[org.gnome.desktop.sound]
event-sounds=false
EOF
cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.thumbnailers.gschema.override<< EOF
[org.gnome.desktop.thumbnailers]
disable-all=true
EOF
glib-compile-schemas /mnt/sysimage/usr/share/glib-2.0/schemas/
%end
%post --nochroot --logfile=/mnt/sysimage/opt/base-desktop-gnome-virtual-machine-manager.log
# Create a file to autostart virt-manager
cat > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop << EOF
[Desktop Entry]
Type=Application
Name=Virtual Machine Manager
Exec=virt-manager
EOF
# Modify the default virt-manager behavior for misc. options
cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.virt-manager.virt-manager.gschema.override<< EOF
# Modify the default virt-manager behavior for misc. options
[org.virt-manager.virt-manager]
xmleditor-enabled=true
manager-window-height=600
manager-window-width=200
# Libvirt URIs listed in the manager window
[org.virt-manager.virt-manager.connections]
uris=['qemu:///system', 'qemu:///session']
autoconnect=['qemu:///session']
# Show usage in the domain list
[org.virt-manager.virt-manager.vmlist-fields]
cpu-usage=false
# Settings related to statistics
[org.virt-manager.virt-manager.stats]
update-interval=3
enable-disk-poll=true
enable-memory-poll=true
enable-net-poll=true
# Default behavior for the console
[org.virt-manager.virt-manager.console]
scaling=2
resize-guest=1
autoconnect=false
# Do not show toolbar
[org.virt-manager.virt-manager.details]
show-toolbar=false
# Modify default values for new VMs
[org.virt-manager.virt-manager.new-vm]
storage-format='raw'
cpu-default='host-model'
graphics-type='spice'
# Modify the default virt-manager behavior for confirmation dialogues
[org.virt-manager.virt-manager.confirm]
forcepoweroff=false
removedev=false
unapplied-dev=false
EOF
glib-compile-schemas /mnt/sysimage/usr/share/glib-2.0/schemas/
%end
%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor.log
# Load kernel modules by adding vfio, vfio_pci, vfio_iommu_type1, vfio_virqfd
echo "vfio" > /mnt/sysimage/etc/modules-load.d/vfio.conf
echo "vfio-pci" > /mnt/sysimage/etc/modules-load.d/vfio-pci.conf
echo "vfio_iommu_type1" > /mnt/sysimage/etc/modules-load.d/vfio_iommu_type1.conf
echo "vfio_virqfd" > /mnt/sysimage/etc/modules-load.d/vfio_virqfd.conf
mkdir /mnt/sysimage/var/lib/libvirt/iso # Create a directory to store iso images
wget https://boot.netboot.xyz/ipxe/netboot.xyz.iso -P /mnt/sysimage/var/lib/libvirt/iso/ # fetch netboot.xyz iso and store it to the newly created iso directory
# fetch custom script and make it executable
wget https://raw.githubusercontent.com/PhyllomeOS/phyllomeos/main/post/create-user-vms.sh -P /mnt/sysimage/usr/sbin/
chmod +x /mnt/sysimage/usr/sbin/create-user-vms.sh
# fetch custom script and make it executable
wget https://raw.githubusercontent.com/PhyllomeOS/phyllomeos/main/post/virtualization-tweaks-root-needed.sh -P /mnt/sysimage/usr/sbin/
chmod +x /mnt/sysimage/usr/sbin/virtualization-tweaks-root-needed.sh
%end
%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor-amdcpu.log
sed -i 's/\(quiet\)/\1 amd_iommu=on amd_iommu=pt rd.driver.pre=vfio-pci/i' /mnt/sysimage/etc/default/grub # Load kernel modules in GRUB.
echo "options kvm_amd nested=1" >> /mnt/sysimage/etc/modprobe.d/kvm.conf # Add support for nested-virtualization
%end
%post --nochroot --logfile=/mnt/sysimage/opt/base-initial-setup-gnome.log
truncate -s 0 /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf # remove content of vendor.conf so that all options are made available
## Append lines to existing vendor.conf file, so that options are skipped upon reboot
cat >> /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf<< EOF
[pages]
skip=privacy
[goa]
providers=local-first!
EOF
%end
%packages --exclude-weakdeps
@core
@hardware-support
dejavu-sans-mono-fonts
elementary-wallpapers-gnome.noarch
fedora-remix-logos
generic-logos
generic-release
generic-release-common
generic-release-notes
gnome-initial-setup
gnome-shell
gnome-terminal
guestfs-tools
libguestfs-tools
libvirt
libvirt-daemon-config-network
libvirt-daemon-kvm
mesa-dri-drivers
nano
neofetch
pciutils
python3-libguestfs
qemu-kvm
virt-install
virt-manager
virt-top
wget
wpa_supplicant
-fedora-logos
-fedora-release
-fedora-release-common
-fedora-release-identity-basic
-fedora-release-notes
-gnome-tour
%end

View File

@ -9,15 +9,15 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c desktop-hypervisor-amdcpu.cfg -o ../leaves/phyllome-desktop-amdcpu.cfg # ksflatten -c desktop-hypervisor-amdcpu.cfg -o ../dishes/phyllome-desktop-amdcpu.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include base.cfg # A minimal machine %include ../ingredients/base.cfg # A minimal machine
%include base-desktop-gnome.cfg # A desktop environment that ships with virtual machine manager %include ../ingredients/base-desktop-gnome.cfg # A desktop environment that ships with virtual machine manager
%include base-desktop-virtual-machine-manager.cfg # the virtual machine manager %include ../ingredients/base-desktop-virtual-machine-manager.cfg # the virtual machine manager
%include base-hypervisor.cfg # A base hypervisor %include ../ingredients/base-hypervisor.cfg # A base hypervisor
%include base-hypervisor-amdcpu.cfg # Specific virtualization configuration for AMD (tm) CPUs %include ../ingredients/base-hypervisor-amdcpu.cfg # Specific virtualization configuration for AMD (tm) CPUs
%include base-initial-setup-gnome.cfg # Includes initial-setup for GNOME %include ../ingredients/base-initial-setup-gnome.cfg # Includes initial-setup for GNOME
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -0,0 +1,24 @@
# __ ____ ____ _____
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
# /_/ /____/
# What ? This kickstart file bootstraps a desktop hypervisor configured for Intel(tm) CPU and Intel(tm) GPUs compatible with vfio-mdev (pre-Tiger Lake)
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c desktop-hypervisor-intelcpu-intelgpu.cfg -o ../dishes/phyllome-desktop-intelcpu-intelgpu.cfg
%include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include ../ingredients/base-storage.cfg # base storage
%include ../ingredients/base.cfg # A minimal machine
%include ../ingredients/base-desktop-gnome.cfg # A desktop environment that ships with virtual machine manager
%include ../ingredients/base-desktop-virtual-machine-manager.cfg # the virtual machine manager
%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).
%include ../ingredients/base-initial-setup-gnome.cfg # Includes initial-setup for GNOME
reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -9,15 +9,15 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c desktop-hypervisor-intelcpu.cfg -o ../leaves/phyllome-desktop-intelcpu.cfg # ksflatten -c desktop-hypervisor-intelcpu.cfg -o ../dishes/phyllome-desktop-intelcpu.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include base.cfg # A minimal machine %include ../ingredients/base.cfg # A minimal machine
%include base-desktop-gnome.cfg # A desktop environment that ships with virtual machine manager %include ../ingredients/base-desktop-gnome.cfg # A desktop environment that ships with virtual machine manager
%include base-desktop-virtual-machine-manager.cfg # the virtual machine manager %include ../ingredients/base-desktop-virtual-machine-manager.cfg # the virtual machine manager
%include base-hypervisor.cfg # A base hypervisor %include ../ingredients/base-hypervisor.cfg # A base hypervisor
%include base-hypervisor-intelcpu.cfg # Specific virtualization configuration for Intel (tm) CPUs %include ../ingredients/base-hypervisor-intelcpu.cfg # Specific virtualization configuration for Intel (tm) CPUs
%include base-initial-setup-gnome.cfg # Includes initial-setup for GNOME %include ../ingredients/base-initial-setup-gnome.cfg # Includes initial-setup for GNOME
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -9,14 +9,14 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c desktop-hypervisor.cfg -o ../leaves/phyllome-desktop.cfg # ksflatten -c desktop-hypervisor.cfg -o ../dishes/phyllome-desktop.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include base.cfg # A minimal machine %include ../ingredients/base.cfg # A minimal machine
%include base-desktop-gnome.cfg # A desktop environment that ships with virtual machine manager %include ../ingredients/base-desktop-gnome.cfg # A desktop environment that ships with virtual machine manager
%include base-desktop-virtual-machine-manager.cfg # the virtual machine manager %include ../ingredients/base-desktop-virtual-machine-manager.cfg # the virtual machine manager
%include base-hypervisor.cfg # A base hypervisor %include ../ingredients/base-hypervisor.cfg # A base hypervisor
%include base-initial-setup-gnome.cfg # Includes initial-setup for GNOME %include ../ingredients/base-initial-setup-gnome.cfg # Includes initial-setup for GNOME
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -9,12 +9,12 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c desktop.cfg -o ../leaves/desktop.cfg # ksflatten -c desktop.cfg -o ../dishes/desktop.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include base.cfg # A minimal machine %include ../ingredients/base.cfg # A minimal machine
%include base-desktop-gnome.cfg # A desktop environment %include ../ingredients/base-desktop-gnome.cfg # A desktop environment
%include base-initial-setup-gnome.cfg # Includes initial-setup for GNOME %include ../ingredients/base-initial-setup-gnome.cfg # Includes initial-setup for GNOME
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -10,12 +10,12 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c dev-virtual-desktop.cfg -o ../leaves/dev-virtual-desktop.cfg # ksflatten -c dev-virtual-desktop.cfg -o ../dishes/dev-virtual-desktop.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include dev-base.cfg # A minimal machine %include ../ingredients/dev-base.cfg # A minimal machine
%include base-desktop-gnome.cfg # A desktop environment %include ../ingredients/base-desktop-gnome.cfg # A desktop environment
%include base-guest-agents.cfg # Guest agents %include ../ingredients/base-guest-agents.cfg # Guest agents
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -10,11 +10,11 @@
# In order to be fed to virt-install or a software like livecd-creator, this file needs to be flattened. # In order to be fed to virt-install or a software like livecd-creator, this file needs to be flattened.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c dev-virtual-server.cfg -o ../leaves/dev-virtual-server.cfg # ksflatten -c dev-virtual-server.cfg -o ../dishes/dev-virtual-server.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include dev-base.cfg # A base system %include ../ingredients/dev-base.cfg # A base system
%include base-guest-agents.cfg # Guest agents %include ../ingredients/base-guest-agents.cfg # Guest agents
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -9,7 +9,7 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c live-desktop-hypervisor-a.cfg -o ../leaves/phyllome-desktop-live-a.cfg # ksflatten -c live-desktop-hypervisor-a.cfg -o ../dishes/phyllome-desktop-live-a.cfg
# IMPORTANT : Weak dependencies to be destroyed in the resulting ks # IMPORTANT : Weak dependencies to be destroyed in the resulting ks
# Instructions for livecd-creator (about to be deprecated) # Instructions for livecd-creator (about to be deprecated)
@ -27,9 +27,9 @@
# BIOS test: # BIOS test:
# qemu-kvm -m 2048 -vga qxl phyllome-desktop-live-a-x86_64.iso # qemu-kvm -m 2048 -vga qxl phyllome-desktop-live-a-x86_64.iso
%include live-desktop.cfg # A base for a live desktop minimal machine %include ../ingredients/live-desktop.cfg # A base for a live desktop minimal machine
%include base-live-hypervisor.cfg # A base hypervisor %include ../ingredients/base-live-hypervisor.cfg # A base hypervisor
%include base-live-hypervisor-a.cfg # Specific virtualization configuration for AMD (tm) CPUs %include ../ingredients/base-live-hypervisor-a.cfg # Specific virtualization configuration for AMD (tm) CPUs
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies. %packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.

View File

@ -9,7 +9,7 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c live-desktop-hypervisor-ii.cfg -o ../leaves/phyllome-desktop-live-ii.cfg # ksflatten -c live-desktop-hypervisor-ii.cfg -o ../dishes/phyllome-desktop-live-ii.cfg
# IMPORTANT : Weak dependencies to be destroyed in the resulting ks # IMPORTANT : Weak dependencies to be destroyed in the resulting ks
# Instructions for livecd-creator (about to be deprecated) # Instructions for livecd-creator (about to be deprecated)
@ -27,9 +27,9 @@
# BIOS test: # BIOS test:
# qemu-kvm -m 2048 -vga qxl phyllome-desktop-live-ii-x86_64.iso # qemu-kvm -m 2048 -vga qxl phyllome-desktop-live-ii-x86_64.iso
%include live-desktop.cfg # A base for a live desktop minimal machine %include ../ingredients/live-desktop.cfg # A base for a live desktop minimal machine
%include base-live-hypervisor.cfg # A base hypervisor %include ../ingredients/base-live-hypervisor.cfg # A base hypervisor
%include base-live-hypervisor-ii.cfg # Specific virtualization configuration for Intel(tm) CPUs and Intel(tm) GPUs %include ../ingredients/base-live-hypervisor-ii.cfg # Specific virtualization configuration for Intel(tm) CPUs and Intel(tm) GPUs
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies. %packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.

View File

@ -9,7 +9,7 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c live-desktop-hypervisor.cfg -o ../leaves/phyllome-desktop-live.cfg # ksflatten -c live-desktop-hypervisor.cfg -o ../dishes/phyllome-desktop-live.cfg
# IMPORTANT : Weak dependencies to be destroyed in the resulting ks # IMPORTANT : Weak dependencies to be destroyed in the resulting ks
# Instructions for livecd-creator (about to be deprecated) # Instructions for livecd-creator (about to be deprecated)
@ -27,8 +27,8 @@
# BIOS test: # BIOS test:
# qemu-kvm -m 2048 -vga qxl phyllome-desktop-live-x86_64.iso # qemu-kvm -m 2048 -vga qxl phyllome-desktop-live-x86_64.iso
%include live-desktop.cfg # A base for a live desktop minimal machine %include ../ingredients/live-desktop.cfg # A base for a live desktop minimal machine
%include base-live-hypervisor.cfg # A base hypervisor %include ../ingredients/base-live-hypervisor.cfg # A base hypervisor
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies. %packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.

View File

@ -9,7 +9,7 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c live-desktop.cfg -o ../leaves/live-desktop.cfg # ksflatten -c live-desktop.cfg -o ../dishes/live-desktop.cfg
# IMPORTANT : Weak dependencies to be destroyed in the resulting ks # IMPORTANT : Weak dependencies to be destroyed in the resulting ks
# Instructions for livecd-creator (about to be deprecated) # Instructions for livecd-creator (about to be deprecated)
@ -27,8 +27,8 @@
# BIOS test: # BIOS test:
# qemu-kvm -m 2048 -vga qxl live-desktop-x86_64.iso # qemu-kvm -m 2048 -vga qxl live-desktop-x86_64.iso
%include base-live.cfg # A base for a minimal live machine %include ../ingredients/base-live.cfg # A base for a minimal live machine
%include "../blocks/base-desktop-gnome.cfg" # A base for a desktop environment %include ../ingredients//base-desktop-gnome.cfg # A base for a desktop environment
%post --log=/root/ld.log # Beginning of %post section. The following commands are executed inside a chroot environment. Add logging %post --log=/root/ld.log # Beginning of %post section. The following commands are executed inside a chroot environment. Add logging

View File

@ -9,11 +9,11 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c nano.cfg -o ../leaves/nano-server-a.cfg # ksflatten -c nano.cfg -o ../dishes/nano-server-a.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include base-nano.cfg # A base system %include ../ingredients/base-nano.cfg # A base system
%include base-initial-setup # Includes initial-setup so on first-boot a new user can be created %include ../ingredients/base-initial-setup # Includes initial-setup so on first-boot a new user can be created
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -9,12 +9,12 @@
# In order to be fed to virt-install or a software like livecd-creator, this file needs to be flattened. # In order to be fed to virt-install or a software like livecd-creator, this file needs to be flattened.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c server-cdrom.cfg -o ../leaves/server-cdrom.cfg # ksflatten -c server-cdrom.cfg -o ../dishes/server-cdrom.cfg
%include base-fedora-cdrom-repo.cfg %include ../ingredients/base-fedora-cdrom-repo.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include base.cfg # A base system %include ../ingredients/base.cfg # A base system
%include base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created %include ../ingredients/base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -9,13 +9,13 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c server-hypervisor-amdcpu.cfg -o ../leaves/phyllome-server-amdcpu.cfg # ksflatten -c server-hypervisor-amdcpu.cfg -o ../dishes/phyllome-server-amdcpu.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include base.cfg # A minimal machine %include ../ingredients/base.cfg # A minimal machine
%include base-hypervisor.cfg # A base hypervisor %include ../ingredients/base-hypervisor.cfg # A base hypervisor
%include base-hypervisor-amdcpu.cfg # Specific virtualization configuration for AMD (tm) CPUs %include ../ingredients/base-hypervisor-amdcpu.cfg # Specific virtualization configuration for AMD (tm) CPUs
%include base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created %include ../ingredients/base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -9,14 +9,14 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c server-hypervisor-intelcpu-intelgpu.cfg -o ../leaves/phyllome-server-intelcpu-intelgpu.cfg # ksflatten -c server-hypervisor-intelcpu-intelgpu.cfg -o ../dishes/phyllome-server-intelcpu-intelgpu.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include base.cfg # A minimal machine %include ../ingredients/base.cfg # A minimal machine
%include base-hypervisor.cfg # A base hypervisor %include ../ingredients/base-hypervisor.cfg # A base hypervisor
%include base-hypervisor-intelcpu.cfg # Specific virtualization configuration for Intel (tm) CPUs %include ../ingredients/base-hypervisor-intelcpu.cfg # Specific virtualization configuration for Intel (tm) CPUs
%include base-hypervisor-intelgpu.cfg # Specific virtualization configuration for Intel (tm) GPUs from 4th to the 9th generation (compatible with vfio-mdev). %include ../ingredients/base-hypervisor-intelgpu.cfg # Specific virtualization configuration for Intel (tm) GPUs from 4th to the 9th generation (compatible with vfio-mdev).
%include base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created %include ../ingredients/base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -9,12 +9,12 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c server-hypervisor.cfg -o ../leaves/phyllome-server.cfg # ksflatten -c server-hypervisor.cfg -o ../dishes/phyllome-server.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include base.cfg # A minimal machine %include ../ingredients/base.cfg # A minimal machine
%include base-hypervisor.cfg # A base hypervisor %include ../ingredients/base-hypervisor.cfg # A base hypervisor
%include base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created %include ../ingredients/base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -9,11 +9,11 @@
# In order to be fed to virt-install or a software like livecd-creator, this file needs to be flattened. # In order to be fed to virt-install or a software like livecd-creator, this file needs to be flattened.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c server.cfg -o ../leaves/server.cfg # ksflatten -c server.cfg -o ../dishes/server.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include base.cfg # A base system %include ../ingredients/base.cfg # A base system
%include base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created %include ../ingredients/base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -9,15 +9,15 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c virtual-desktop-hypervisor.cfg -o ../leaves/virtual-phyllome-desktop.cfg # ksflatten -c virtual-desktop-hypervisor.cfg -o ../dishes/virtual-phyllome-desktop.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include base.cfg # A minimal machine %include ../ingredients/base.cfg # A minimal machine
%include base-desktop-gnome.cfg # A desktop environment that ships with virtual machine manager %include ../ingredients/base-desktop-gnome.cfg # A desktop environment that ships with virtual machine manager
%include base-desktop-virtual-machine-manager.cfg # the virtual machine manager %include ../ingredients/base-desktop-virtual-machine-manager.cfg # the virtual machine manager
%include base-hypervisor.cfg # A base hypervisor %include ../ingredients/base-hypervisor.cfg # A base hypervisor
%include base-guest-agents.cfg # Guest agents %include ../ingredients/base-guest-agents.cfg # Guest agents
%include base-initial-setup-gnome.cfg # Includes initial-setup for GNOME %include ../ingredients/base-initial-setup-gnome.cfg # Includes initial-setup for GNOME
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -9,13 +9,13 @@
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one. # In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c virtual-desktop.cfg -o ../leaves/virtual-desktop.cfg # ksflatten -c virtual-desktop.cfg -o ../dishes/virtual-desktop.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include base.cfg # A minimal machine %include ../ingredients/base.cfg # A minimal machine
%include base-desktop-gnome.cfg # A desktop environment %include ../ingredients/base-desktop-gnome.cfg # A desktop environment
%include base-guest-agents.cfg # Guest agents %include ../ingredients/base-guest-agents.cfg # Guest agents
%include base-initial-setup-gnome.cfg # Includes initial-setup for GNOME %include ../ingredients/base-initial-setup-gnome.cfg # Includes initial-setup for GNOME
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -11,13 +11,13 @@
# In order to be fed to virt-install or a software like livecd-creator, this file needs to be flattened. # In order to be fed to virt-install or a software like livecd-creator, this file needs to be flattened.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c virtual-server-encrypted.cfg -o ../leaves/virtual-server-encrypted.cfg # ksflatten -c virtual-server-encrypted.cfg -o ../dishes/virtual-server-encrypted.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage-encrypted.cfg # base encrypted storage %include ../ingredients/base-storage-encrypted.cfg # base encrypted storage
%include base.cfg # A base system %include ../ingredients/base.cfg # A base system
%include base-guest-agents.cfg # Guest agents %include ../ingredients/base-guest-agents.cfg # Guest agents
%include base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created %include ../ingredients/base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation

View File

@ -9,12 +9,12 @@
# In order to be fed to virt-install or a software like livecd-creator, this file needs to be flattened. # In order to be fed to virt-install or a software like livecd-creator, this file needs to be flattened.
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora : # Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
# ksflatten -c virtual-server.cfg -o ../leaves/virtual-server.cfg # ksflatten -c virtual-server.cfg -o ../dishes/virtual-server.cfg
%include base-fedora-repo.cfg # offical repositories for Fedora %include ../ingredients/base-fedora-repo.cfg # offical repositories for Fedora
%include base-storage.cfg # base storage %include ../ingredients/base-storage.cfg # base storage
%include base.cfg # A base system %include ../ingredients/base.cfg # A base system
%include base-guest-agents.cfg # Guest agents %include ../ingredients/base-guest-agents.cfg # Guest agents
%include base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created %include ../ingredients/base-initial-setup.cfg # Includes initial-setup so on first-boot a new user can be created
reboot --kexec # Reboot straight into the system after a successfull installation reboot --kexec # Reboot straight into the system after a successfull installation