Files
mgmt/lang/core/embedded/provisioner/files/bios-menu.tmpl
James Shubin 4d9c78003a lang: core: embedded: Add standalone provisioning tool
This commit adds the ability to build a standalone provisioning tool.
This is the first useful public mcl code base as well. It is not
perfect, but does serve as a rough starting point to show what is
possible. In the future as the language and the engine evolve, this will
likely get more elegant, and also grow new features.

To build this, run `make clean && GOTAGS='embedded_provisioner' make`.
To run this, run `mgmt provisioner`.
2024-03-26 20:33:43 -04:00

19 lines
747 B
Cheetah

default vesamenu.c32
prompt 1
timeout 150
label kickstart
menu label ^Install {{ .distro }} {{ .version }} {{ .arch }} ( kickstart )
menu default
kernel {{ .distro }}{{ .version }}-{{ .arch }}/vmlinuz
append initrd={{ .distro }}{{ .version }}-{{ .arch }}/initrd.img inst.stage2={{ .inst_repo_base }}releases/{{ .version }}/{{ .flavour }}/{{ .arch }}/os/ ip=dhcp inst.ks={{ .ks }}
label manual
menu label ^Install {{ .distro }} {{ .version }} {{ .arch }} ( manual )
kernel {{ .distro }}{{ .version }}-{{ .arch }}/vmlinuz
append initrd={{ .distro }}{{ .version }}-{{ .arch }}/initrd.img inst.stage2={{ .inst_repo_base }}releases/{{ .version }}/{{ .flavour }}/{{ .arch }}/os/ ip=dhcp
label local
menu label Boot from ^local drive
localboot 0xffff