diff --git a/config_files/etc/netplan/02-static-tftp-ethernet.yaml b/config_files/etc/netplan/02-static-tftp-ethernet.yaml new file mode 100644 index 0000000..71626a9 --- /dev/null +++ b/config_files/etc/netplan/02-static-tftp-ethernet.yaml @@ -0,0 +1,21 @@ +network: + version: 2 + + wifis: + wlp0s20f3: + renderer: NetworkManager + optional: true + + ethernets: + enxa0cec8c167a7: + renderer: networkd + dhcp4: false + addresses: + - 192.168.0.1/24 + routes: + - to: default + via: 192.168.0.1 + nameservers: + addresses: + - 192.168.0.1 + - 1.1.1.1 diff --git a/config_files/srv/tftp/grub/grub.cfg b/config_files/srv/tftp/grub/grub.cfg new file mode 100644 index 0000000..b5c772c --- /dev/null +++ b/config_files/srv/tftp/grub/grub.cfg @@ -0,0 +1,48 @@ +set default="0" +set timeout=-1 + +if loadfont unicode ; then + set gfxmode=auto + set locale_dir=/locale + set lang=en_US +fi +terminal_output gfxterm + +set menu_color_normal=white/black +set menu_color_highlight=black/light-gray +if background_color 44,0,30; then + clear +fi + +function gfxmode { + set gfxpayload="" + if [ "" = "keep" ]; then + set vt_handoff=vt.handoff=7 + else + set vt_handoff= + fi +} + +set linux_gfx_mode=keep + +export linux_gfx_mode + + +menuentry "LMDE 7 via HTTP ISO fetch (OEM mode)" --class linuxmint { + set gfxpayload=keep + linux /vmlinuz boot=live live-config ip=dhcp fetch=http://192.168.0.1/lmde-7-cinnamon-64bit.iso live-media-path=/live oem-mode quiet splash -- + initrd /initrd.lz +} + + +menuentry 'Ubuntu 26.04' { + gfxmode $linux_gfx_mode + linux /vmlinuz $vt_handoff quiet splash root=/dev/ram0 ramdisk_size=1500000 cloud-config-url=/dev/null ip=dhcp url=http://192.168.0.1/ubuntu-26.04-desktop-amd64.iso + initrd /initrd.lz +} + +menuentry "LMDE 7 via HTTP ISO fetch debug" --class linuxmint { + set gfxpayload=keep + linux /vmlinuz boot=live live-config ip=dhcp fetch=http://192.168.0.1/lmde-7-cinnamon-64bit.iso live-media-path=/live debug=1 -- + initrd /initrd.lz +} diff --git a/config_files/srv/tftp/grubx64.efi b/config_files/srv/tftp/grubx64.efi new file mode 100644 index 0000000..387d030 Binary files /dev/null and b/config_files/srv/tftp/grubx64.efi differ