Bootenv
5 minute read.
Last Modified 2023-11-30 10:15 ESTThe SCALE CLI guide is a work in progress! New namespace and command documentation is continually added and maintained, so check back here often to see what is new!
The bootenv namespace has 7 commands, and is based on boot environment functions found in the SCALE API and web UI. It provides access to environment management methods through the bootenv namespace commands.
The following bootenv namespace commands allow you to create or delete boot environments, manage existing environments, and activate an environment.
You can enter commands from the main CLI prompt or from the system namespace prompt.
The activate
command sets a boot environment to activate on reboot.
The create
command adds a new boot environment.
The delete
command removes an existing boot environment from the system.
The get_instance
command returns configuration for an existing boot environment.
The query
command allows you to view all boot environments stored on the system.
It indicates the current active boot environment and which environment activates on system reboot.
The set_attribute
command is used to set the keep
flag, which determines whether the TrueNAS updater can automatically delete this boot environment if there is not enough space to proceed with an update.
The update
command allows you to change the name of an existing boot environment.