Chapter 17. profile
17.1. profile:change-parents Copy linkLink copied to clipboard!
17.1.1. Description Copy linkLink copied to clipboard!
Replace the profile’s parents with the specified list of parents
17.1.2. Syntax Copy linkLink copied to clipboard!
profile:change-parents [options] profile parents
17.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
profile | Name of the profile. |
parents | The list of new parent profiles. |
17.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
17.2. profile:copy Copy linkLink copied to clipboard!
17.2.1. Description Copy linkLink copied to clipboard!
Copies the specified source profile
17.2.2. Syntax Copy linkLink copied to clipboard!
profile:copy [options] source profile target profile
17.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
source profile | Name of the source profile. |
target profile | Name of the target profile. |
17.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-f, --force | Flag to allow overwriting the target profile (if exists). |
17.3. profile:create Copy linkLink copied to clipboard!
17.3.1. Description Copy linkLink copied to clipboard!
Create a new profile with the specified name and parents
17.3.2. Syntax Copy linkLink copied to clipboard!
profile:create [options] [profileId]
17.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
profileId |
17.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--parents | Optionally specifies one or multiple parent profiles. To specify multiple parent profiles, specify this flag multiple times on the command line. For example, --parents foo --parents bar. |
17.3.5. Details Copy linkLink copied to clipboard!
classpath:profileCreate.txt
17.4. profile:delete Copy linkLink copied to clipboard!
17.4.1. Description Copy linkLink copied to clipboard!
Delete the specified profile
17.4.2. Syntax Copy linkLink copied to clipboard!
profile:delete [options] profile
17.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
profile | Name of the profile to delete. |
17.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
17.5. profile:display Copy linkLink copied to clipboard!
17.5.1. Description Copy linkLink copied to clipboard!
Displays information about the specified profile
17.5.2. Syntax Copy linkLink copied to clipboard!
profile:display [options] profile
17.5.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
profile | The name of the profile. |
17.5.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--overlay, -o | Shows the overlay profile settings, taking into account the settings inherited from parent profiles. |
--help | Display this help message |
--effective, -e | Shows the effective profile settings, taking into account properties substitution. |
--display-resources, -r | Displays the content of additional profile resources. |
17.6. profile:edit Copy linkLink copied to clipboard!
17.6.1. Description Copy linkLink copied to clipboard!
Edits the specified profile
17.6.2. Syntax Copy linkLink copied to clipboard!
profile:edit [options] profile
17.6.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
profile | The target profile to edit |
17.6.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--remove | Removes value from a delimited list. It is only usable with the system, config & pid options |
--help | Display this help message |
--delete | Delete values. This option can be used to delete a feature, a bundle or a pid from the profile. |
--append | Append value to a delimited list. It is only usable with the system, config & pid options |
-c, --config | Edit the Java system properties that affect the karaf container (analogous to editing etc/config.properties in a root container). |
--delimiter | Specifies the delimiter to use for appends and removals. |
-x, --extension | Edit extension libraries. To specify multiple libraries, specify this flag multiple times. |
-p, --pid | Edit an OSGi configuration property, specified in the format <PID>/<Property>. To specify multiple properties, specify this flag multiple times. |
--resource | Selects a resource under the profile to edit. This option should only be used alone. |
--set | Set or create values (selected by default). |
-i, --import-pid | Imports the pids that are edited, from local OSGi config admin |
-f, --features | Edit features. To specify multiple features, specify this flag multiple times. For example, --features foo --features bar. |
-r, --repositories | Edit the features repositories. To specify multiple repositories, specify this flag multiple times. |
-o, --overrides | Edit overrides. To specify multiple libraries, specify this flag multiple times. |
-s, --system | Edit the Java system properties that affect installed bundles (analogous to editing etc/system.properties in a root container). |
-b, --bundles | Edit bundles. To specify multiple bundles, specify this flag multiple times. |
-n, --endorsed | Edit endorsed libraries. To specify multiple libraries, specify this flag multiple times. |
-l, --libs | Edit libraries. To specify multiple libraries, specify this flag multiple times. |
17.6.5. Details Copy linkLink copied to clipboard!
classpath:profileEdit.txt
17.7. profile:list Copy linkLink copied to clipboard!
17.7.1. Description Copy linkLink copied to clipboard!
Lists all profiles
17.7.2. Syntax Copy linkLink copied to clipboard!
profile:list [options]
17.7.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--hidden | Display hidden profiles |
17.8. profile:rename Copy linkLink copied to clipboard!
17.8.1. Description Copy linkLink copied to clipboard!
Rename the specified source profile
17.8.2. Syntax Copy linkLink copied to clipboard!
profile:rename [options] profile name new profile name
17.8.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
profile name | Name of the profile. |
new profile name | New name of the profile. |
17.8.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-f, --force | Flag to allow replacing the target profile (if exists). |
--help | Display this help message |
--version | The profile version to rename. Defaults to the current default version. |