From 25640db3404617fbe7604c6bb692583a6ce4a35b Mon Sep 17 00:00:00 2001 From: Mike Gerdts Date: Thu, 24 Jan 2019 17:13:50 -0600 Subject: [PATCH] TRITON-1154 delivery of custom driver.conf needs to be demystified --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 68a1108..6c363e2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ --> # sdc-booter @@ -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/ +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.