@@ -6,26 +6,27 @@ set menu-timeout 30000
6
6
7
7
iseq ${platform} efi && set menu-default local_efi || set menu-default local_bios
8
8
9
- set location whq
9
+ set installer_url https://hydra.flyingcircus.io/job/flyingcircus/fc-24.11-production/images.netboot/latest/download/netboot.ipxe
10
10
11
11
# Lets assume network has already been initialized from our ipxe bootstrap script and we'd like to save time here.
12
12
# dhcp || error
13
13
14
14
:start
15
15
menu Flying Circus boot menu
16
16
item --gap -- --- Info ---
17
- item --gap -- Serial: ${serial}
18
- item --gap -- MAC: ${mac}
19
- item --gap -- Location: ${location}
20
- item --gap -- Platform: ${platform}
17
+ item --gap -- Serial: ${serial}
18
+ item --gap -- MAC: ${mac}
19
+ item --gap -- Platform: ${platform}
21
20
item --gap -- --- Boot ---
22
21
item local_bios Boot machine from local disk (BIOS)
23
22
item local_efi Boot machine from local disk (EFI)
24
23
item netboot Launch netboot.xyz (various live images and tools)
25
24
item --gap -- --- Install ---
26
- item install_nixos_20_09 Boot NixOS 20.09 install image
27
- item install_nixos_21_05 Boot NixOS 21.05 install image
28
- item install_nixos_dev Boot NixOS development install image
25
+ item --gap -- Installer: ${installer_url}
26
+ item install_nixos_24_11 Set installer to NixOS 24.11 install image
27
+ item install_nixos_dev Set installer to NixOS development install image
28
+ item install_edit_url Manually edit installer URL
29
+ item install_start Boot selected installer
29
30
item --gap -- --- Other ---
30
31
item --key x exit Exit iPXE and continue BIOS boot
31
32
item shell Drop to iPXE shell
@@ -34,14 +35,22 @@ choose --timeout ${menu-timeout} --default ${menu-default} selected || goto canc
34
35
set menu-timeout 0
35
36
goto ${selected}
36
37
37
- :install_nixos_20_09
38
- boot https://hydra.flyingcircus.io/job/flyingcircus/fc-20.09-production/images.netboot/latest/download/netboot.ipxe || goto error
39
-
40
- :install_nixos_21_05
41
- boot https://hydra.flyingcircus.io/job/flyingcircus/fc-21.05-production/images.netboot/latest/download/netboot.ipxe || goto error
38
+ :install_nixos_24_11
39
+ set installer_url https://hydra.flyingcircus.io/job/flyingcircus/fc-24.11-production/images.netboot/latest/download/netboot.ipxe
40
+ goto start
42
41
43
42
:install_nixos_dev
44
- boot https://hydra.flyingcircus.io/channels/installer/dev/netboot.ipxe || goto error
43
+ set installer_url https://hydra.flyingcircus.io/channels/installer/dev/netboot.ipxe || goto error
44
+ goto start
45
+
46
+ :install_edit_url
47
+ form Configure installer settings
48
+ item installer_url URL
49
+ present || goto start
50
+ goto start
51
+
52
+ :install_start
53
+ boot ${installer_url} || error
45
54
46
55
:netboot
47
56
chain --autofree https://boot.netboot.xyz
0 commit comments