-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Labels
Sled AgentRelated to the Per-Sled Configuration and ManagementRelated to the Per-Sled Configuration and ManagementUpdate SystemReplacing old bits with newer, cooler bitsReplacing old bits with newer, cooler bits
Milestone
Description
The Sled Agent needs to be capable of applying the host OS image to an m.2 when instructed by Nexus.
As mentioned in the 2/17 control plane huddle, the sled agent should write to the "other" m.2 than the one which was originally booted. @jclulow mentioned that pilot has a mechanism for parsing libdevinfo to make this determination, which we should probably steal here.
Anyway, here's what we need to do:
- Expose an API for nexus to call, to transfer a host OS image to the sled
- Observe libdevinfo to see both m.2s, and pick the one we did not boot from
-
dd
(or moral equivalent) to actually write the image out
Metadata
Metadata
Assignees
Labels
Sled AgentRelated to the Per-Sled Configuration and ManagementRelated to the Per-Sled Configuration and ManagementUpdate SystemReplacing old bits with newer, cooler bitsReplacing old bits with newer, cooler bits