Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TRITON-1154 delivery of custom driver.conf needs to be demystified #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
-->

<!--
Copyright (c) 2017, Joyent, Inc.
Copyright (c) 2019, Joyent, Inc.
-->

# sdc-booter
Expand Down Expand Up @@ -90,3 +90,18 @@ Global Zone:
dhcpd_svc=$(sdc-sapi /services?name=dhcpd | json -Ha uuid)
sapiadm update $dhcpd_svc metadata.http_pxe_boot=true


# Delivery of custom `driver.conf` files

To deliver a custom `driver.conf(4)` file without rebuilding the PI, place the
required file and its hash file in the per-CN boot file system directory.

```
cd /tftpboot/bootfs/90<lower-case-mac-with-no-colons>/
mkdir -p kernel/drv
cp /.../sd.conf kernel/drv
digest -a sha1 kernel/drv/sd.conf > kernel/drv/sd.conf.hash
```

Note that this customization will be lost the next time that the booter instance
is redeployed.