Removes the local host instance.
Prerequisites
- The start or restart command has been successfully executed, and the ohpm-repo service has been successfully started.
- The type of the data storage module db must be mysql, and the type of the file storage module store must be sftp or custom.
Command Format
ohpm-repo remove_instance
Description
Stops the current ohpm-repo service and removes the instance information of the local host from MySQL and SFTP. This command requires that the data storage module db must use MySQL and the file storage module store must use SFTP or a custom implementation.
Example
Run the following command:
ohpm-repo remove_instance
The following is an output example:
