TRITON-2070: booter needs to offer boot module support for linux CNs

Details

Issue Type:New Feature
Priority:4 - Normal
Status:Resolved
Created at:2020-02-14T11:40:41.135Z
Updated at:2021-05-13T03:19:51.566Z

People

Created by:Pedro Palazón Candel
Reported by:Pedro Palazón Candel
Assigned to:Pedro Palazón Candel

Resolution

Implemented: The feature has been implemented, is checked into the tree and tested
(Resolution Date: 2020-08-18T14:29:51.249Z)

Related Issues

Labels

linuxcn

Description

At least iPXE configuration will be different than for SmartOS based PIs:

#!ipxe
kernel /os/20200401T0123456Z/platform/x86_64/vmlinuz console=ttyS0 boot=live \
  fetch=http:///os/20200401T0123456Z/platform/x86_64/filesystem.squashfs
initrd /os/20200401T0123456Z/platform/x86_64/initrd
module --name /packages.tar /zfs/20200401T0123456Z/packages.tar
module --name /networking.json /bootfs/<MAC>/networking.json
boot

Booter will need a branch when writing these files, based into expected OS of the given CN.

Comments

Comment by Pedro Palazón Candel
Created at 2020-03-27T12:48:00.767Z

Pushed to linuxcn branch of sdc-booter: https://github.com/joyent/sdc-booter/commit/5884b08841824779301516d2823670eb366e1496


Comment by Jira Bot
Created at 2020-08-17T19:05:26.688Z

sdc-booter commit e6c9bfa72ae0452e69d3683f343a90698b72e742 (branch master, by Pedro Palazón Candel)

TRITON-2070 booter needs to offer boot module support for linux CNs

TRITON-2094 Booter should provide support for custom boot params passed to linux

Co-authored-by: Todd Whiteman <todd.whiteman@joyent.com>