mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2024-12-22 13:05:17 +00:00
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
This commit is contained in:
parent
682dd7b8e9
commit
9a2e53377b
@ -28,17 +28,17 @@ gnome-initial-setup # Add GNOME initial setup too to let user create local accou
|
|||||||
|
|
||||||
%end # End of the packages section
|
%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
|
# 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]
|
[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=Virtual Machine Monitor
|
Name=Virtual Machine Monitor
|
||||||
Exec=virt-manager
|
Exec=virt-manager
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Download netboot.xyz
|
# Download netboot.xyz # cannot resolve hostname
|
||||||
wget https://boot.netboot.xyz/ipxe/netboot.xyz.iso -P /var/lib/libvirt/iso/
|
# wget https://boot.netboot.xyz/ipxe/netboot.xyz.iso -P /var/lib/libvirt/iso/
|
||||||
|
|
||||||
%end # End of the %post section
|
%end # End of the %post section
|
Loading…
Reference in New Issue
Block a user