Command to C<exec> that connects to target's console.
+Note that if you need more complex behaviour of the console command,
+e.g., different behaviour for different users (distinguished by the
+value of C<$NB_USER> variable), you can set this variable to a name of
+a shell function, which you define in the configuration file and
+implement the complex behaviour there.
+
=item reset_cmd
Command to C<exec> that resets the Target.
username=qwer WVPASS run_server console | tee /dev/stderr | WVPASS grep -F "Hello qwer"
)
+WVSTART "Missing console_cmd results in failure"
+NOVABOOT_SHELL_CONFIG="/dev/null" WVFAIL run_server console
+
+WVSTART "console_cmd may contain a shell function name"
+(
+ export NOVABOOT_SHELL_CONFIG="./.novaboot-shell"
+ WVPASS tee "$NOVABOOT_SHELL_CONFIG" <<<'console_cmd () { echo Hello user; }
+console_cmd=console_cmd'
+ WVPASS run_server console | tee /dev/stderr | WVPASS grep -F "Hello user"
+)
+
SHELLRC="$NBT_HOME/.novaboot-shell"
TFTPROOT="$NBT_HOME/tftproot"
AUTH="$NBT_HOME/.ssh/authorized_keys"