netboot instructions

This commit is contained in:
2026-01-27 21:27:54 +00:00
parent e0ced427d2
commit fb287d812a
2 changed files with 16 additions and 0 deletions

View File

@@ -28,3 +28,16 @@ Borg
----
BORG_PASSCOMMAND="cat /run/agenix/borgbackup-fwminex" borg --remote-path=borg1 list zh2769@zh2769.rsync.net:fwminex.jakst.vpn-home-motiejus-annex2
netboot
-------
qemu-system-x86_64 \
-nographic \
-enable-kvm \
-cpu host \
-m 1024 \
-netdev tap,id=net0,ifname=tap0,script=no,downscript=no \
-device e1000,netdev=net0 \
-boot order=n \
-bios $(nix build .#nixosConfigurations.mtworx.pkgs.OVMF.fd --no-link --print-out-paths)/FV/OVMF.fd

View File

@@ -11,6 +11,9 @@ let
ipxeMenu = pkgs.writeText "boot.ipxe" ''
#!ipxe
# Ensure network is configured
dhcp || echo DHCP failed, trying to continue anyway
:menu
menu PXE Boot Menu
item mrescue Boot mrescue (Rescue System)