imagetype Commands
Use commands with the imagetype
keyword to add, delete,
modify, and manage an image type.
- rhpctl add imagetype
Configures a new image type and its associated user actions. - rhpctl allow imagetype
Grants access to an image type to a user or a role. - rhpctl delete imagetype
Deletes an existing image type. - rhpctl disallow imagetype
Revokes access to an image type from a user or a role. - rhpctl modify imagetype
Modifies the configuration of an image type. - rhpctl query imagetype
Displays the configuration of an image type.
Parent topic: RHPCTL Command Reference
rhpctl add imagetype
Configures a new image type and its associated user actions.
Syntax
rhpctl add imagetype -imagetype image_type -basetype {SOFTWARE |
ORACLEGISOFTWARE | ORACLEDBSOFTWARE | ORACLEGGSOFTWARE}
[-useractions user_action_list]
Parameters
Table A-34 rhpctl add imagetype Command Parameters
Parameter | Description |
---|---|
-imagetype image_type |
Specify the name of the image type you are creating. |
-basetype {SOFTWARE | ORACLEGISOFTWARE | ORACLEDBSOFTWARE | ORACLEGGSOFTWARE} |
Specify a base image type on which the image type you are creating is based. Use |
-useractions user_action_list |
Specify a comma-delimited list of names of user actions |
Example
To add a new image type:
rhpctl add imagetype -imagetype DB122_PATCH_TYPE -basetype ORACLEDBSOFTWARE
Parent topic: imagetype Commands
rhpctl allow imagetype
Syntax
rhpctl allow imagetype -imagetype image_type {-user user_name [-client cluster_name] | -role role_name}
Parameters
Table A-35 rhpctl allow imagetype Command Parameters
Parameter | Description |
---|---|
-imagetype image_type |
Specify the name of the image type to which you are granting access. Use ORACLEDBSOFTWARE (default) for Oracle database software, ORACLEGISOFTWARE for Oracle Grid Infrastructure software, or SOFTWARE for all other software. For a custom image type, use the image type name. |
-user user_name |
Specify an operating system user to whom you are granting access to the image type. Either this parameter or the |
-client cluster_name |
Optionally, you can specify the name of the client cluster to which the operating system user belongs, if you choose to use the |
-role role_name |
Alternative to the |
Parent topic: imagetype Commands
rhpctl delete imagetype
Syntax
rhpctl delete imagetype -imagetype image_type
Usage Notes
Specify an image type to delete. You cannot delete any of the built-in image types.
Parent topic: imagetype Commands
rhpctl disallow imagetype
Syntax
rhpctl disallow imagetype -imagetype image_type {-user user_name [-client cluster_name] | -role role_name}
Parameters
Table A-36 rhpctl disallow imagetype Command Parameters
Parameter | Description |
---|---|
-imagetype image_type |
Specify the name of the image type from which you are revoking access. Use ORACLEDBSOFTWARE (default) for Oracle database software, ORACLEGISOFTWARE for Oracle Grid Infrastructure software, or SOFTWARE for all other software. For a custom image type, use the image type name. |
-user user_name |
Specify an operating system user from whom you are revoking access to the image type. Either this parameter or the |
-client cluster_name |
Optionally, you can specify the name of the client cluster to which the operating system user belongs, if you choose to use the |
-role role_name |
Alternative to the |
Parent topic: imagetype Commands
rhpctl modify imagetype
Syntax
rhpctl modify imagetype -imagetype image_type -useractions user_action_list
Parameters
Table A-37 rhpctl modify imagetype Command Parameters
Parameter | Description |
---|---|
-imagetype image_type |
Specify the name of the image type you want to modify. Use |
-useractions user_action_list |
Specify a comma-delimited list of names of user actions |
Parent topic: imagetype Commands
rhpctl query imagetype
Syntax
rhpctl query imagetype -imagetype image_type
Usage Notes
Specify the name of the image type you want to query. Use ORACLEDBSOFTWARE (default) for Oracle database software, ORACLEGISOFTWARE for Oracle Grid Infrastructure software, or SOFTWARE for all other software. For a custom image type, use the image type name.
Parent topic: imagetype Commands