module

Beryl::CLI::Status

Sous-commande beryl status <host> (étape H5) : affiche un état bref des pools ZFS et des services sshd / cron / pf sur un host. Utile principalement après un reboot pour voir d'un coup d'œil ce qui demande un beryl unlock.

Sortie typique :

Pools : zroot ONLINE monté zsave ABSENT (pool non importé — chiffré, clé non chargée)

Services : sshd : up cron : up pf : up

Constants

DEFAULT_SERVICES = ["sshd", "cron"] of ::String

Services standard remontés par défaut. Une recette apply future pourra étendre via requires_dataset (cf. apply-recipes-architecture.adoc).

EXIT_OK = 0
EXIT_SSH_FAILED = 2
EXIT_UNEXPECTED = 3
EXIT_USAGE = 1

Class methods

run(config_root : String, args : Array(String)) : Int32
Source