Netboot: Difference between revisions
imported>Erikarvstedt mNo edit summary |
imported>Erikarvstedt mNo edit summary |
||
| Line 2: | Line 2: | ||
=== Example === | === Example === | ||
This example uses [https://github.com/danderson/netboot/tree/master/pixiecore | This example uses [https://github.com/danderson/netboot/tree/master/pixiecore Pixiecore] for hosting, which works in an ordinary network environment with an existing DHCP server. | ||
<syntaxHighlight lang=bash> | <syntaxHighlight lang=bash> | ||
| Line 43: | Line 43: | ||
init=$(grep -ohP 'init=\S+' $n/netboot.ipxe) | init=$(grep -ohP 'init=\S+' $n/netboot.ipxe) | ||
# As of May 2020, | # As of May 2020, Pixiecore is only available on nixos-unstable | ||
nix build -o /tmp/pixiecore -f channel:nixos-unstable pixiecore | nix build -o /tmp/pixiecore -f channel:nixos-unstable pixiecore | ||