The post_snapshot Script

Valid for versions 106 through the latest version

Version:

106


Last modified: June 2, 2022

Overview

The /usr/local/cpanel/scripts/post_snapshot script updates configurations on a system created from an image. This script automatically runs upon the first boot for images created using the snapshot_prep script.

Note:

In most cases, this script is run automatically.

For images created using the --no-post-service option for the snapshot_prep script, you must run this script manually.

Run the script

To run this script on the command line, use the following format:

/usr/local/cpanel/scripts/post_snapshot [options]

Options

Use the following options with this script:

Option Description Example
--help Display the script’s help documentation. --help

Additional Documentation