Skip to content

Commit

Permalink
Merge pull request #143 from flatcar-linux/kai/set-ipxe-oem-id
Browse files Browse the repository at this point in the history
Packet: Set OEM ID for PXE boot network setup
  • Loading branch information
pothos authored Oct 15, 2020
2 parents e399b3f + 666002c commit b65f9c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/api/packet/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ func (a *API) uploadObject(hostname, contentType string, data []byte) (string, s
func (a *API) ipxeScript(userdataURL string) string {
return fmt.Sprintf(`#!ipxe
set base-url %s
kernel ${base-url}/flatcar_production_pxe.vmlinuz initrd=flatcar_production_pxe_image.cpio.gz flatcar.first_boot=1 ignition.config.url=%s console=%s
kernel ${base-url}/flatcar_production_pxe.vmlinuz initrd=flatcar_production_pxe_image.cpio.gz flatcar.first_boot=1 flatcar.oem.id=packet ignition.config.url=%s console=%s
initrd ${base-url}/flatcar_production_pxe_image.cpio.gz
boot`, strings.TrimRight(a.opts.InstallerImageBaseURL, "/"), userdataURL, linuxConsole[a.opts.Board])
}
Expand Down

0 comments on commit b65f9c2

Please sign in to comment.