From 9a2e53377bf3dc3f5b79ad1fe6c4c092d24d3182 Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 19 Aug 2021 21:04:11 +0200 Subject: [PATCH] path and netboot correcth path for taking into account he fact that we are outside the chroot Comment out wget and netboot, because it doesn't work add more fine-grained logging --- leaves/dhmd.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/leaves/dhmd.cfg b/leaves/dhmd.cfg index 5b2e719..0374ad1 100644 --- a/leaves/dhmd.cfg +++ b/leaves/dhmd.cfg @@ -28,17 +28,17 @@ gnome-initial-setup # Add GNOME initial setup too to let user create local accou %end # End of the packages section -%post --nochroot --log=/mnt/sysimage/root/ks-post.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging. +%post --nochroot --log=/mnt/sysimage/root/dhmd-post.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging. # Create a file to autostart virt-manager -cat > /etc/xdg/autostart/virt-manager.desktop << EOF +cat > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop << EOF [Desktop Entry] Type=Application Name=Virtual Machine Monitor Exec=virt-manager EOF -# Download netboot.xyz -wget https://boot.netboot.xyz/ipxe/netboot.xyz.iso -P /var/lib/libvirt/iso/ +# Download netboot.xyz # cannot resolve hostname +# wget https://boot.netboot.xyz/ipxe/netboot.xyz.iso -P /var/lib/libvirt/iso/ %end # End of the %post section \ No newline at end of file