mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 02:19:28 +00:00
Added CPU architecture detection
Some commands were added in the ipxeBootstrap to enable architecture detection based on the architecture the iPXE version used was built for. This is done through the use of an additional flag in the chain which is the ipxeBootstrap using the buildarch parameter.
This commit is contained in:
committed by
Dalton Hubble
parent
32ddba55c1
commit
1484cf7354
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
const ipxeBootstrap = `#!ipxe
|
||||
chain ipxe?uuid=${uuid}&mac=${mac:hexhyp}&domain=${domain}&hostname=${hostname}&serial=${serial}
|
||||
chain ipxe?uuid=${uuid}&mac=${mac:hexhyp}&domain=${domain}&hostname=${hostname}&serial=${serial}&arch=${buildarch:uristring}
|
||||
`
|
||||
|
||||
var ipxeTemplate = template.Must(template.New("iPXE config").Parse(`#!ipxe
|
||||
|
||||
Reference in New Issue
Block a user