Created
November 18, 2015 05:49
-
-
Save cleverca22/e266881fb6645c126710 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if exists user-class and option user-class = "iPXE" { | |
filename "http://192.168.2.61/test/script.ipxe"; | |
} else { | |
filename = "undionly.kpxe"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
total 956M | |
-r--r--r-- 1 root root 3.5M Nov 18 01:39 bzImage | |
-r--r--r-- 1 root root 6.3M Nov 18 01:39 initrd | |
-r--r--r-- 1 root root 946M Nov 18 01:40 nix-store.squashfs | |
-rw-r--r-- 1 clever clever 237 Nov 18 01:42 script.ipxe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ipxe | |
kernel bzImage init=/nix/store/m4f2id4z9hvghvgs4kym5vy2gjdf28fb-nixos-system-nixos-16.03pre56789.gfedcba/init root=192.168.2.61:/test/ boot.shell_on_fail nomodeset loglevel=7 console=ttyS0 | |
initrd initrd | |
boot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment