Skip to content

Commit 0dc288f

Browse files
fix: 🐛 include serial_number parameter for orch.create_preconfig so that if serial_number column is specified in CSV file it will be included fixes #12
1 parent ba87973 commit 0dc288f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

examples/generate_preconfig/preconfig.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@
196196
yaml_preconfig=yaml_preconfig,
197197
auto_apply=auto_apply,
198198
tag=row["hostname"],
199+
serial_number=appliance_serial,
199200
comment=f"Created/Uploaded @ {comment_timestamp}",
200201
)
201202
print(f'Posted EC Preconfig {row["hostname"]}')

0 commit comments

Comments
 (0)