new config files
This commit is contained in:
parent
c677f4f4f2
commit
87ddd454a9
3 changed files with 69 additions and 0 deletions
21
config_files/etc/netplan/02-static-tftp-ethernet.yaml
Normal file
21
config_files/etc/netplan/02-static-tftp-ethernet.yaml
Normal file
|
|
@ -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
|
||||
48
config_files/srv/tftp/grub/grub.cfg
Normal file
48
config_files/srv/tftp/grub/grub.cfg
Normal file
|
|
@ -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
|
||||
}
|
||||
BIN
config_files/srv/tftp/grubx64.efi
Normal file
BIN
config_files/srv/tftp/grubx64.efi
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue