Add the new recipe for a live

system and the initial-setup
This commit is contained in:
2021-08-12 20:52:58 +02:00
parent 7f08dbb6fa
commit bbdb2ea293
6 changed files with 58 additions and 27 deletions

View File

@@ -5,8 +5,8 @@
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
# /_/ /____/
# What ? This Kickstart file bootstrapsa a minimal headless guest hypervisor optimized for AMD CPUs.
# 'v' for virtual machine, 'h' for hypervisor', 'a' for amd, 'd' for desktop, 'm' for minimal, 'd' for development only.
# 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.
# 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/leaves/vhamd.cfg
@@ -14,14 +14,12 @@
# 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/leaves/vhmd.cfg # Includes vemdhd.cfg, a minimal desktop-oriented nested-host ks file
%include https://git.phyllo.me/home/kickstart/raw/branch/master/leaves/vhmd.cfg # Includes vhmd.cfg, a guest hypervisor.
%post # Beginning of %post section
# Load kernel modules in grub.
# sed -i 's/\(quiet\)/\1 amd_iommu=on amd_iommu=pt rd.driver.pre=vfio-pci/i' /etc/default/grub
# dracut --force # Regenerate initramfs
# grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub
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