...
- Update the configuration file name
- Replace the existing hostname "pluto" with your Tru64 guest hostname
Highlight | ||
---|---|---|
| ||
Principle |
...
You will have here to replace the user (1), password (2) and shell prompt (3) with the ones corresponding to your guest (shell prompt is used to determine if a user is logged on the console)
Highlight | ||
---|---|---|
| ||
Principle |
...
You will have here to replace the user (1), password (2) and shell prompt (3) with the ones corresponding to your guest (shell prompt is used to determine if a user is logged on the console)
Highlight | ||
---|---|---|
| ||
Principle |
- Check if there's an active connection to the console on the local host, kill if any.
Reminder: If the console is locked from an external connection or if the prompt is not detected after sending a carriage return, the expect script will fail. - Execute the "
expect
" script (1) and report all output to/opt/charon/<guest name>.expect.log
. No need to kill the emulator process here as the "power off
" command is executed. - Append the output of this file to (2) the
/opt/charon/console.<guest name>.log
file for history Search for the "
expect
" script messages and displays them instdout
(3), they will be logged in the service status and will be displayed when stopping the service interactively.Div class pagebreak Example:
...
You will have here to replace the user (1), password (2) and shell prompt (3) with the ones corresponding to your guest (shell prompt is used to determine if a user is logged on the console)
Highlight | ||
---|---|---|
| ||
Principle |
...
The F6 key can be enabled or not in the configuration file. The expect script will send it if the "power off
" command fails and if this operation fails, it will exit with return code 9 meaning the emulator process will have to be killed.
Highlight | ||
---|---|---|
| ||
Principle |
...