|
|
populate shell [OPTION]... TARGET SCRIPT runs SCRIPT with /bin/sh on
TARGET, reached like populate reaches it, deciding whether it's local
when it runs, with local or remote as $1, so SCRIPT can tell. It takes
populate's target options but --path, and --tty, giving SCRIPT a
terminal on a remote target, and --local-only, failing before
connecting unless the target is local. It replaces itself with the
command running SCRIPT, so the exit status, the terminal, and signals
are SCRIPT's. krops can run nixos-rebuild with it, which needs whether
the target is local, unless it decides that during evaluation, which
pure evaluation can't.
The command line's parsing is shared between populate and populate
shell.
|