15.4. Extending the Discovery Image
. ├── autostart.d │ └── 01_zip.sh ├── bin │ └── ntpdate ├── facts │ └── test.rb └── lib ├── libcrypto.so.1.0.0 └── ruby └── test.rb
autostart.ddirectory contains scripts that are executed in POSIX order by the image when it starts, but before the host is registered to Satellite.
bindirectory is added to the $PATH variable; you can place binary files here and use them in the autostart scripts.
factsdirectory is added to the FACTERLIB variable so that custom facts can be configured and sent to Satellite.
libdirectory is added to the LD_LIBRARY_PATH variable and
lib/rubyis added to the RUBYLIB variable, so that binary files in
/bincan be executed correctly.
/opt/extensiondirectory on the image.
zip -r my_extension.zip .
fdi.zipsoption where the paths are relative to the TFTP root. For example, if you have two archives at
$TFTP/boot/zip2.zip, use the following syntax: