Skip to content

Commit 3c57863

Browse files
disassemblerjohnalotoskigrahamc
committed
Manager.create_device: add support for customdata
Co-authored-by: John Lotoski <[email protected]> Co-authored-by: Graham Christensen <[email protected]>
1 parent 79438f8 commit 3c57863

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packet/Manager.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ def create_device(
137137
userdata="",
138138
hardware_reservation_id="",
139139
storage={},
140+
customdata={},
140141
):
141142

142143
params = {
@@ -159,6 +160,8 @@ def create_device(
159160
params["hardware_reservation_id"] = hardware_reservation_id
160161
if storage:
161162
params["storage"] = storage
163+
if customdata:
164+
params["customdata"] = customdata
162165
if ipxe_script_url != "":
163166
params["always_pxe"] = always_pxe
164167
params["ipxe_script_url"] = ipxe_script_url

0 commit comments

Comments
 (0)