correct links

rewrite the comment section
This commit is contained in:
2021-11-26 16:21:00 +01:00
parent 4aed83c7ad
commit c2c4e83321
10 changed files with 41 additions and 48 deletions

View File

@@ -6,31 +6,30 @@
# /_/ /____/
# What ? This kickstart file bootstraps a live desktop hypervisor configured for AMD (tm) CPUs.
# 'l' for live, 'd' for desktop, 'h' for hypervisor', 'a' for amd
# 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 ldha.cfg -o ../leaves/flat-ldha.cfg
# ksflatten -c live-desktop-hypervisor-a.cfg -o ../leaves/phyllome-desktop-live-a.cfg
# IMPORTANT : Weak dependencies to be destroyed in the resulting ks
# Instructions for livecd-creator (about to be deprecated)
# An ISO file can be created using the following command as *root*:
# livecd-creator -c ../leaves/flat-ldha.cfg --fslabel=ldha
# livecd-creator -c ../leaves/phyllome-desktop-live-a.cfg --fslabel=phyllome-desktop-live-a
# livecd-creator is part of the livecd-tools package
# Instructions for livemedia-creator
# An ISO file can be created using the following command as *root*:
# livemedia-creator --make-iso --ks flat-ldha.cfg --no-virt --iso-only --iso-name phyllome-live-dha-x86_64.iso --releasever 35
# livemedia-creator --make-iso --ks phyllome-desktop-live-a.cfg --no-virt --iso-only --iso-name phyllome-desktop-live-a-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-live-dha-x86_64.iso
# qemu-kvm -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -m 2048 -vga qxl phyllome-desktop-live-a-x86_64.iso
# BIOS test:
# qemu-kvm -m 2048 -vga qxl phyllome-live-dha-x86_64.iso
# qemu-kvm -m 2048 -vga qxl phyllome-desktop-live-a-x86_64.iso
%include ld.cfg # A base for a live desktop minimal machine
%include bhl.cfg # A base hypervisor
%include bhla.cfg # Specific virtualization configuration for AMD (tm) CPUs
%include live-desktop.cfg # A base for a live desktop minimal machine
%include base-live-hypervisor.cfg # A base hypervisor
%include 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.
@@ -38,7 +37,7 @@ virt-manager # Install virt-manager, the graphical front-end for QEMU/KVM
%end # End of the packages section
%post --log=/root/ldha.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
%post --log=/root/live-desktop-hypervisor-a.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
usermod -a -G libvirt liveuser # Make user "liveuser" part of the existing libvirt group to allow it to interact with the guest-hypervisor.
chown liveuser:liveuser /var/lib/libvirt/iso # Make the user "liveuser" the owner of this directory