Article ID: 115185, created on Nov 22, 2012, last review on Aug 12, 2014

  • Applies to:
  • Virtuozzo containers for Windows

Information

In Parallels Virtuozzo Containers, you can create custom scripts and configure them to be executed when certain Container-related operations are performed. There are two kinds of scripts you can specify for execution on the Node or in the Container context:
Preoperation scripts
These scripts are executed before some Container-related operation is performed. Preoperation scripts are specified in the form vzpreaction_name.ext where action_name denotes the name of the operation to be performed (e.g., start), and ext is the extension of the file containing the script. Currently, the files with the .exe, .cmd, .bat, .vbs extensions are supported.
Postoperation scripts
These scripts are executed after some Container-related operation has been successfully completed. Postoperation scripts are specified in the form vzpostaction_name.ext where denotes the name of the operation to be performed (e.g., stop), and ext is the extension of the file containing the script. Currently, the files with the .exe, .cmd, .bat, .vbs extensions are supported.

More information can be found in Parallels Virtuozzo Containers for Windows 4.6 User's Guide, page 324

965b49118115a610e93635d21c5694a8 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f

Email subscription for changes to this article
Save as PDF