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`.
19 lines
747 B
Cheetah
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
|