From a2bcf8979878987686bacb3883a32876b9ba8fd2 Mon Sep 17 00:00:00 2001 From: paspo Date: Fri, 27 Oct 2023 12:05:20 +0200 Subject: [PATCH] lingua+keyb IT sulle casper-based --- boot.txt | 28 ++++++++++++++-------------- roles/pxeserver/tasks/ipxe.yml | 9 +++++++++ 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/boot.txt b/boot.txt index 750ea70..4f0d5a4 100644 --- a/boot.txt +++ b/boot.txt @@ -19,7 +19,7 @@ item --key u zorin-core Boot Zorin OS 16.3 Core item --key u zorin-lite Boot Zorin OS 16.3 Lite item --key u elementary Boot Elementary OS 7 item --key u fedora Boot Fedora Workstation 38 Live -item --key u opensuse Boot Booting openSUSE Leap 15.5 +item --key u opensuse Boot openSUSE Leap 15.5 # item --key u debian Boot Debian Live 12.2.0 # item --key u kali Boot Kali Linux 2023.3 item --key u ubuntu-http Boot Ubuntu 22.04 (HTTP) @@ -72,80 +72,80 @@ goto start :ubuntu echo Booting Ubuntu 22.04 (NFS) initrd ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/initrd -chain ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/ubuntu-22.04.3-desktop-amd64.iso initrd=initrd +chain ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/ubuntu-22.04.3-desktop-amd64.iso initrd=initrd config -- keyboard-configuration/layoutcode=it keyboard-configuration/modelcode=pc105 debian-installer/locale=it goto start :ubuntu-http echo Booting Ubuntu 22.04 (HTTP) initrd ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/initrd set url http://${dhcp-server}/iso/ubuntu-22.04.3-desktop-amd64.iso -chain ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=url url=${url} initrd=initrd +chain ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=url url=${url} initrd=initrd config -- keyboard-configuration/layoutcode=it keyboard-configuration/modelcode=pc105 debian-installer/locale=it goto start :popos echo Booting POP OS 22.04 (NFS) initrd ${boot-url}/mount/pop-os_22.04_amd64_intel_4.iso/casper/initrd.gz -chain ${boot-url}/mount/pop-os_22.04_amd64_intel_4.iso/casper/vmlinuz.efi ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/pop-os_22.04_amd64_intel_4.iso initrd=initrd.gz +chain ${boot-url}/mount/pop-os_22.04_amd64_intel_4.iso/casper/vmlinuz.efi ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/pop-os_22.04_amd64_intel_4.iso initrd=initrd.gz config -- keyboard-configuration/layoutcode=it keyboard-configuration/modelcode=pc105 debian-installer/locale=it goto start :popos-nvidia echo Booting POP OS 22.04 - nvidia (NFS) initrd ${boot-url}/mount/pop-os_22.04_amd64_nvidia_4.iso/casper/initrd.gz -chain ${boot-url}/mount/pop-os_22.04_amd64_nvidia_4.iso/casper/vmlinuz.efi ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/pop-os_22.04_amd64_nvidia_4.iso initrd=initrd.gz +chain ${boot-url}/mount/pop-os_22.04_amd64_nvidia_4.iso/casper/vmlinuz.efi ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/pop-os_22.04_amd64_nvidia_4.iso initrd=initrd.gz config -- keyboard-configuration/layoutcode=it keyboard-configuration/modelcode=pc105 debian-installer/locale=it goto start :elementary echo Booting Elementary OS 7 (NFS) initrd ${boot-url}/mount/elementaryos-7.1-stable.20230926rc.iso/casper/initrd.lz -chain ${boot-url}/mount/elementaryos-7.1-stable.20230926rc.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/elementaryos-7.1-stable.20230926rc.iso initrd=initrd.lz +chain ${boot-url}/mount/elementaryos-7.1-stable.20230926rc.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/elementaryos-7.1-stable.20230926rc.iso initrd=initrd.lz config -- keyboard-configuration/layoutcode=it keyboard-configuration/modelcode=pc105 debian-installer/locale=it goto start :mint-cinnamon echo Booting Linuxmint 21.2 cinnamon (NFS) initrd ${boot-url}/mount/linuxmint-21.2-cinnamon-64bit.iso/casper/initrd.lz -chain ${boot-url}/mount/linuxmint-21.2-cinnamon-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-cinnamon-64bit.iso initrd=initrd.lz +chain ${boot-url}/mount/linuxmint-21.2-cinnamon-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-cinnamon-64bit.iso initrd=initrd.lz config -- keyboard-configuration/layoutcode=it keyboard-configuration/modelcode=pc105 debian-installer/locale=it goto start :mint-xfce echo Booting Linuxmint 21.2 xfce (NFS) initrd ${boot-url}/mount/linuxmint-21.2-xfce-64bit.iso/casper/initrd.lz -chain ${boot-url}/mount/linuxmint-21.2-xfce-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-xfce-64bit.iso initrd=initrd.lz +chain ${boot-url}/mount/linuxmint-21.2-xfce-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-xfce-64bit.iso initrd=initrd.lz config -- keyboard-configuration/layoutcode=it keyboard-configuration/modelcode=pc105 debian-installer/locale=it goto start :mint-mate echo Booting Linuxmint 21.2 mate (NFS) initrd ${boot-url}/mount/linuxmint-21.2-mate-64bit.iso/casper/initrd.lz -chain ${boot-url}/mount/linuxmint-21.2-mate-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-mate-64bit.iso initrd=initrd.lz +chain ${boot-url}/mount/linuxmint-21.2-mate-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-mate-64bit.iso initrd=initrd.lz config -- keyboard-configuration/layoutcode=it keyboard-configuration/modelcode=pc105 debian-installer/locale=it goto start :mint-lmde echo Booting Linuxmint Debian Edition 6 (NFS) initrd ${boot-url}/mount/lmde-6-cinnamon-64bit.iso/casper/initrd.lz -chain ${boot-url}/mount/lmde-6-cinnamon-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=live live-config live-media-path=/casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/lmde-6-cinnamon-64bit.iso initrd=initrd.lz +chain ${boot-url}/mount/lmde-6-cinnamon-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=live live-config live-media-path=/casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/lmde-6-cinnamon-64bit.iso initrd=initrd.lz config -- keyboard-configuration/layoutcode=it keyboard-configuration/modelcode=pc105 debian-installer/locale=it goto start :xubuntu echo Booting XUbuntu 22.04 (NFS) initrd ${boot-url}/mount/xubuntu-22.04.3-desktop-amd64.iso/casper/initrd -chain ${boot-url}/mount/xubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/xubuntu-22.04.3-desktop-amd64.iso initrd=initrd +chain ${boot-url}/mount/xubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/xubuntu-22.04.3-desktop-amd64.iso initrd=initrd config -- keyboard-configuration/layoutcode=it keyboard-configuration/modelcode=pc105 debian-installer/locale=it goto start :lubuntu echo Booting LUbuntu 22.04 (NFS) initrd ${boot-url}/mount/lubuntu-22.04.3-desktop-amd64.iso/casper/initrd -chain ${boot-url}/mount/lubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/lubuntu-22.04.3-desktop-amd64.iso initrd=initrd +chain ${boot-url}/mount/lubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/lubuntu-22.04.3-desktop-amd64.iso initrd=initrd config -- keyboard-configuration/layoutcode=it keyboard-configuration/modelcode=pc105 debian-installer/locale=it goto start :zorin-core echo Booting Zorin OS 16.3 Core (NFS) initrd ${boot-url}/mount/Zorin-OS-16.3-Core-64-bit.iso/casper/initrd.lz4 -chain ${boot-url}/mount/Zorin-OS-16.3-Core-64-bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/Zorin-OS-16.3-Core-64-bit.iso initrd=initrd.lz4 +chain ${boot-url}/mount/Zorin-OS-16.3-Core-64-bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/Zorin-OS-16.3-Core-64-bit.iso initrd=initrd.lz4 config -- keyboard-configuration/layoutcode=it keyboard-configuration/modelcode=pc105 debian-installer/locale=it goto start :zorin-lite echo Booting Zorin OS 16.3 Lite (NFS) initrd ${boot-url}/mount/Zorin-OS-16.3-Lite-64-bit.iso/casper/initrd.lz4 -chain ${boot-url}/mount/Zorin-OS-16.3-Lite-64-bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper nocheck netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/Zorin-OS-16.3-Lite-64-bit.iso initrd=initrd.lz4 +chain ${boot-url}/mount/Zorin-OS-16.3-Lite-64-bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper nocheck netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/Zorin-OS-16.3-Lite-64-bit.iso initrd=initrd.lz4 config -- keyboard-configuration/layoutcode=it keyboard-configuration/modelcode=pc105 debian-installer/locale=it goto start :fedora diff --git a/roles/pxeserver/tasks/ipxe.yml b/roles/pxeserver/tasks/ipxe.yml index 46ec923..f01656d 100644 --- a/roles/pxeserver/tasks/ipxe.yml +++ b/roles/pxeserver/tasks/ipxe.yml @@ -29,3 +29,12 @@ dest: /srv/pxe/memdisk state: link become: true + +- name: IPXE boot menu + copy: + src: ../../../boot.txt + dest: /srv/pxe/boot.txt + owner: root + group: root + mode: "0644" + become: true