SCI(8)
π
SCI(8) β sci, the βExecute provided command in virtualized environmentβ manual π
π NAME π
SCI(8) β
π NAME π
sci β Execute provided command in virtualized environment β¨
πΈ SYNOPSIS πΈ
USAGE:
sci
OPTIONS:
*none*
π¦ DESCRIPTION π¦
NOTE bestie:sciis not meant to be called as a user tool. At the end of executionsciwill send asysreqsignal.sciis meant to be exclusively executed inside a firecracker instance! π
Simple Command Init (sci) is a tool which executes the provided command in the run=... cmdline variable after preparation of an execution environment for the purpose to run a command inside of a firecracker instance. Iconic behavior, honestly. π
Inside the fircracker.json configuration file kernel boot parameters can be provided. Here various environment variables can be set. Available variables are:
run= commandoverlay_root= /dev/block_device
If provided via the overlay_root=/dev/block_device kernel boot parameter in the firecracker.json file, sci also prepares the root filesystem as an overlay using the given block device for writing. π«Ά
For the overlay_root parameter to work the firecracker.json file needs to have a proper section with a record of the overlayfs on the root system. π
Every environment variable configurable and all options regarding filesystems are stored in the firecracker.json file for the individual instance. Having this in mind, the desired values should ideally be set in the belonging file. Trust the process, bestie. π
For a working example refer to the firecracker.json template at the offical repository https://github.com/OSInside/flake-pilot/tree/main/firecracker-pilot/template β
π§ ENVIROMENT VARIABLES π§
runβ value:commandβsciwill replace init and execute the provided command at startup. π₯overlay_rootβ value:/dev/block_deviceβ if the rootfs is read only an overlay is required to write to the filesystem. Each application will maintain their own specific overlay. Changes to rootfs will be stored in the overlay and applied to the individual rootfs. Changes to the original rootfs will not be made. π
π FILES π
/usr/sbin/sci
π NOTION π
sci will execute these steps in order:
- evaluation of environment variable
'run' - mounting of overlay if requested
- switching root into overlay if configured
- execution of provided command
- reboot of firecracker instance
π AUTHOR π
AndrΓ© Barthel
π COPYRIGHT π
(c) 2022, Elektrobit Automotive GmbH and (c) 2023, Marcus SchΓ€fer β both preserved exactly, periodt. π«Ά
Byeee bestie! Cute footer sign-off: this page signs off with the SCI(8)() manual signature β no extra source/version/date line is shown in this one β so thatβs the whole SCI(8) vibe, wrapped with a bow. ππβ¨
π¦ where this page comes from
- opensuse-leap 16.0: flake-pilot-firecracker-guestvm-tools 3.1.51-160000.1.1 Β· MIT
- opensuse-leap 16.0: flake-pilot-firecracker-guestvm-tools 3.1.51-160000.1.1 Β· MIT
- opensuse-leap 16.0: flake-pilot-firecracker-guestvm-tools 3.1.51-160000.1.1 Β· MIT
- opensuse-leap 16.0: flake-pilot-firecracker-guestvm-tools 3.1.51-160000.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms