Skip to content

Support UUID param on PXE endpoint #61

Description

@bastelfreak

we would like to pass an additional param to the pxe endpoint, a UUID. This will later be used from the installimage to interact with APIs. You can currently pass it, but it gets ignored:

root@dhcp01 ~ # curl -u admin:secret --data 'ip_address=10.30.7.41&label=archrescue&uuid=345455645645456' http://dhcp01de:8080/v1/pxe
{
    "ip_address": "10.30.7.41",
    "label": "archrescue",
    "password": "Qs4o5XwHVYcn_8AY",
    "script": null
}
root@dhcp01 ~ # cat /srv/tftp/pxelinux.cfg/0A1E0729 
INCLUDE pxelinux.cfg/default
DEFAULT instantboot
PROMPT 0
TIMEOUT 1
LABEL instantboot
    KERNEL cmd.c32
    APPEND archrescue HASH=$6$TzG382c1PO9ogCT1$pO9rMFtWSCoxv9xRrBTsmsiunr5HJcufp8nSWHMrquetZ5g29FJ4sqnJbo7rTmaUKh7b5TA9wKDIlII5.Y3o21
root@dhcp01 ~ #

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions