ebsarr / packet

packet, a CLI tool to manage packet.net services
Other
40 stars 14 forks source link

add always_pxe option to create-device (and future "update-device") #24

Closed sygibson closed 6 years ago

sygibson commented 6 years ago

Packet supports setting "always_pxe" to true - which forces the machine to ALWAYS (ahem...) PXE boot every time, instead of on the first provisioning attempt. This in conjunction with "userdata" specifying alternate iPXE options enables complete control of a machine with non-Packet provisioning systems.

I'd like to ask that "baremetal create-device" command include an "--always_pxe=true" option.

Subsequently, when/if "baremetal update-device" is added, that this feature be added to support setting "always_pxe" to "true" or "false". see #23

ebsarr commented 6 years ago

WIP

ebsarr commented 6 years ago

Feature added in latest update.

sygibson commented 6 years ago

Bassirou - v2.2 has a bunch of great additions and cleanups. Thanks !!!

ebsarr commented 6 years ago

@sygibson : I'm not confident about my test coverage. Let me know if you face any bug. Thank you for your feedbacks.