From 5a2f7d0e896503053cd07165d9cb4796df7a72e7 Mon Sep 17 00:00:00 2001 From: luz Date: Tue, 6 May 2025 09:36:35 -0500 Subject: [PATCH] change location of logs --- dishes/desktop-hypervisor-amdcpu.cfg | 6 +++--- dishes/desktop-hypervisor-intelcpu-intelgpu.cfg | 8 ++++---- dishes/desktop-hypervisor-intelcpu.cfg | 6 +++--- dishes/desktop-hypervisor.cfg | 6 +++--- dishes/live-desktop-hypervisor.cfg | 8 ++++---- dishes/live-desktop.cfg | 6 +++--- dishes/live-server-hypervisor.cfg | 4 ++-- dishes/live-server.cfg | 2 +- dishes/virtual-desktop-hypervisor.cfg | 6 +++--- dishes/virtual-desktop.cfg | 2 +- dishes/virtual-server-hypervisor.cfg | 2 +- 11 files changed, 28 insertions(+), 28 deletions(-) diff --git a/dishes/desktop-hypervisor-amdcpu.cfg b/dishes/desktop-hypervisor-amdcpu.cfg index 1e6f716..1bf0ff3 100644 --- a/dishes/desktop-hypervisor-amdcpu.cfg +++ b/dishes/desktop-hypervisor-amdcpu.cfg @@ -61,7 +61,7 @@ EOF %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-desktop-gnome.log +%post --nochroot --logfile=/mnt/sysimage/root/base-desktop-gnome.log # cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.background.gschema.override<< EOF # [org.gnome.desktop.background] @@ -130,7 +130,7 @@ 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 +%post --nochroot --logfile=/mnt/sysimage/root/base-desktop-gnome-virtual-machine-manager.log # Create a file to autostart virt-manager cat > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop << EOF @@ -193,7 +193,7 @@ glib-compile-schemas /mnt/sysimage/usr/share/glib-2.0/schemas/ %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor.log +%post --nochroot --logfile=/mnt/sysimage/root/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 diff --git a/dishes/desktop-hypervisor-intelcpu-intelgpu.cfg b/dishes/desktop-hypervisor-intelcpu-intelgpu.cfg index 59bc66c..0e02c85 100644 --- a/dishes/desktop-hypervisor-intelcpu-intelgpu.cfg +++ b/dishes/desktop-hypervisor-intelcpu-intelgpu.cfg @@ -61,7 +61,7 @@ EOF %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-desktop-gnome.log +%post --nochroot --logfile=/mnt/sysimage/root/base-desktop-gnome.log # cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.background.gschema.override<< EOF # [org.gnome.desktop.background] @@ -130,7 +130,7 @@ 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 +%post --nochroot --logfile=/mnt/sysimage/root/base-desktop-gnome-virtual-machine-manager.log # Create a file to autostart virt-manager cat > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop << EOF @@ -193,7 +193,7 @@ glib-compile-schemas /mnt/sysimage/usr/share/glib-2.0/schemas/ %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor.log +%post --nochroot --logfile=/mnt/sysimage/root/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 @@ -231,7 +231,7 @@ echo "options kvm_intel nested=1" >> /mnt/sysimage/etc/modprobe.d/kvm.conf # Add %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor-intelgpu.log +%post --nochroot --logfile=/mnt/sysimage/root/base-hypervisor-intelgpu.log sed -i 's/\(vfio-pci\)/\1 i915.enable_gvt=1/i' /mnt/sysimage/etc/default/grub # Load kernel modules in grub. diff --git a/dishes/desktop-hypervisor-intelcpu.cfg b/dishes/desktop-hypervisor-intelcpu.cfg index 055e450..5351ee3 100644 --- a/dishes/desktop-hypervisor-intelcpu.cfg +++ b/dishes/desktop-hypervisor-intelcpu.cfg @@ -61,7 +61,7 @@ EOF %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-desktop-gnome.log +%post --nochroot --logfile=/mnt/sysimage/root/base-desktop-gnome.log # cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.background.gschema.override<< EOF # [org.gnome.desktop.background] @@ -130,7 +130,7 @@ 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 +%post --nochroot --logfile=/mnt/sysimage/root/base-desktop-gnome-virtual-machine-manager.log # Create a file to autostart virt-manager cat > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop << EOF @@ -193,7 +193,7 @@ glib-compile-schemas /mnt/sysimage/usr/share/glib-2.0/schemas/ %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor.log +%post --nochroot --logfile=/mnt/sysimage/root/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 diff --git a/dishes/desktop-hypervisor.cfg b/dishes/desktop-hypervisor.cfg index 83cb8fe..9dddfa4 100644 --- a/dishes/desktop-hypervisor.cfg +++ b/dishes/desktop-hypervisor.cfg @@ -61,7 +61,7 @@ EOF %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-desktop-gnome.log +%post --nochroot --logfile=/mnt/sysimage/root/base-desktop-gnome.log # cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.background.gschema.override<< EOF # [org.gnome.desktop.background] @@ -130,7 +130,7 @@ 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 +%post --nochroot --logfile=/mnt/sysimage/root/base-desktop-gnome-virtual-machine-manager.log # Create a file to autostart virt-manager cat > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop << EOF @@ -193,7 +193,7 @@ glib-compile-schemas /mnt/sysimage/usr/share/glib-2.0/schemas/ %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor.log +%post --nochroot --logfile=/mnt/sysimage/root/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 diff --git a/dishes/live-desktop-hypervisor.cfg b/dishes/live-desktop-hypervisor.cfg index 1be4bc8..a1955c8 100644 --- a/dishes/live-desktop-hypervisor.cfg +++ b/dishes/live-desktop-hypervisor.cfg @@ -44,7 +44,7 @@ grub2-mkconfig -o /boot/grub2/grub.cfg # Unsure it is actually useful %end -%post --logfile=/mnt/sysimage/root/post.log +%post --logfile=/mnt/sysimage/root/post-live-core.log # Enable livesys services systemctl enable livesys.service @@ -117,7 +117,7 @@ EOF %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-desktop-gnome.log +%post --nochroot --logfile=/mnt/sysimage/root/base-desktop-gnome.log # cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.background.gschema.override<< EOF # [org.gnome.desktop.background] @@ -186,7 +186,7 @@ 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 +%post --nochroot --logfile=/mnt/sysimage/root/base-desktop-gnome-virtual-machine-manager.log # Create a file to autostart virt-manager cat > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop << EOF @@ -249,7 +249,7 @@ glib-compile-schemas /mnt/sysimage/usr/share/glib-2.0/schemas/ %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor.log +%post --nochroot --logfile=/mnt/sysimage/root/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 diff --git a/dishes/live-desktop.cfg b/dishes/live-desktop.cfg index 6f67035..8a7ab93 100644 --- a/dishes/live-desktop.cfg +++ b/dishes/live-desktop.cfg @@ -19,7 +19,7 @@ rootpw --iscrypted --lock locked # SELinux configuration selinux --disabled # System services -services --enabled="NetworkManager" +services --enabled="NetworkManager,systemd-resolved" # System timezone timezone Europe/Paris --utc # Use network installation @@ -44,7 +44,7 @@ grub2-mkconfig -o /boot/grub2/grub.cfg # Unsure it is actually useful %end -%post --logfile=/mnt/sysimage/root/post.log +%post --logfile=/mnt/sysimage/root/post-live-core.log # Enable livesys services systemctl enable livesys.service @@ -117,7 +117,7 @@ EOF %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-desktop-gnome.log +%post --nochroot --logfile=/mnt/sysimage/root/base-desktop-gnome.log # cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.background.gschema.override<< EOF # [org.gnome.desktop.background] diff --git a/dishes/live-server-hypervisor.cfg b/dishes/live-server-hypervisor.cfg index 1cd142d..f665ebe 100644 --- a/dishes/live-server-hypervisor.cfg +++ b/dishes/live-server-hypervisor.cfg @@ -42,7 +42,7 @@ grub2-mkconfig -o /boot/grub2/grub.cfg # Unsure it is actually useful %end -%post --logfile=/mnt/sysimage/root/post.log +%post --logfile=/mnt/sysimage/root/post-live-core.log # Enable livesys services systemctl enable livesys.service @@ -101,7 +101,7 @@ sed -i 's/^livesys_session=.*/livesys_session="gnome"/' /etc/sysconfig/livesys %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor.log +%post --nochroot --logfile=/mnt/sysimage/root/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 diff --git a/dishes/live-server.cfg b/dishes/live-server.cfg index 0ba109c..123ee32 100644 --- a/dishes/live-server.cfg +++ b/dishes/live-server.cfg @@ -42,7 +42,7 @@ grub2-mkconfig -o /boot/grub2/grub.cfg # Unsure it is actually useful %end -%post --logfile=/mnt/sysimage/root/post.log +%post --logfile=/mnt/sysimage/root/post-live-core.log # Enable livesys services systemctl enable livesys.service diff --git a/dishes/virtual-desktop-hypervisor.cfg b/dishes/virtual-desktop-hypervisor.cfg index 4610f6d..5bf5f3a 100644 --- a/dishes/virtual-desktop-hypervisor.cfg +++ b/dishes/virtual-desktop-hypervisor.cfg @@ -61,7 +61,7 @@ EOF %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-desktop-gnome.log +%post --nochroot --logfile=/mnt/sysimage/root/base-desktop-gnome.log # cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.background.gschema.override<< EOF # [org.gnome.desktop.background] @@ -130,7 +130,7 @@ 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 +%post --nochroot --logfile=/mnt/sysimage/root/base-desktop-gnome-virtual-machine-manager.log # Create a file to autostart virt-manager cat > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop << EOF @@ -193,7 +193,7 @@ glib-compile-schemas /mnt/sysimage/usr/share/glib-2.0/schemas/ %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor.log +%post --nochroot --logfile=/mnt/sysimage/root/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 diff --git a/dishes/virtual-desktop.cfg b/dishes/virtual-desktop.cfg index ce430d9..3aeba1d 100644 --- a/dishes/virtual-desktop.cfg +++ b/dishes/virtual-desktop.cfg @@ -61,7 +61,7 @@ EOF %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-desktop-gnome.log +%post --nochroot --logfile=/mnt/sysimage/root/base-desktop-gnome.log # cat >> /mnt/sysimage/usr/share/glib-2.0/schemas/org.gnome.desktop.background.gschema.override<< EOF # [org.gnome.desktop.background] diff --git a/dishes/virtual-server-hypervisor.cfg b/dishes/virtual-server-hypervisor.cfg index 7142062..b6d9675 100644 --- a/dishes/virtual-server-hypervisor.cfg +++ b/dishes/virtual-server-hypervisor.cfg @@ -45,7 +45,7 @@ grub2-mkconfig -o /boot/grub2/grub.cfg # Unsure it is actually useful %end -%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor.log +%post --nochroot --logfile=/mnt/sysimage/root/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