...
If the script does not exist, it will be generated automatically based on existing guests and will by default do nothing.
You will have either to add your own shutdown scripts or to get examples provided in the 'charon_gstart.stop.example' script located in the '/opt/charon/utils' folder. Examples are provided for clean shutdown using 'ssh' or 'expect' thanks to the 'guest_shutdown.exp' script
Contents:
Table of Contents | ||
---|---|---|
|
Explanation on the example file
...
- Update the configuration file name
- Replace the existing hostname 'pluto' by your Tru64 guest hostname
...
Div | ||
---|---|---|
| ||
Example with Expect tool, Tru64 guest
...
- Update the configuration file name
- Replace the user, password and shell prompt by the corresponding one (shell prompt is used to determine if a user is logged on the console)
Div | ||
---|---|---|
| ||
Example with Expect tool, VAX VMS guest
...
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 the operation fails will exit with return code 9 meaning the emulator process will have to be killed.
Optional guest display status script
It is possible to create a script in the '/opt/charon/utils' folder named 'charon_gstart.chkrun' (an example is provided in the 'charon_gstart.chkrun.example' file).
This will add a status line while displaying the guests list.
Display output example:
Script example:
Include Page | ||||
---|---|---|---|---|
|