Creating a BLPackage for adding local users in the OpenStack Provider
A BLPackage is a collection of server assets, software packages, and an XML instruction set. The BLPackage includes parameterized property values, such as local user and password, among its server assets. The parameterized property values match the blueprint parameters that are used by the service blueprint.
For general information on creating a BLPackage Deploy Job, see Creating-and-modifying-Software-and-BLPackage-Deploy-Jobs.
To add local properties to the BLPackage
In BMC Server Automation, when creating a BLPackage Deploy Job for adding new users, you create the user and then set the password in the Local Properties of the BLPackage definition. The following procedure shows how to create a Linux user for a Create Linux User software package.
Create a UNIX user for the Create Linux User software package.
Create a UNIX password for the UNIX_USER property that you just defined.
- After you create the BLPackage, create a BLPackage Deploy Job.
- Publish a BLPackage Deploy job from the Jobs > CSM_Applications folder to the specified BMC Cloud Lifecycle Management server.
For more information, see Parameterizing-BLPackages-by-adding-local-properties or Publishing-the-Product-Catalog.
To add corresponding parameters to the service blueprint definition
After you publish the BLPackage to BMC Cloud Lifecycle Management, you can specify the blueprint parameters for the property values that you defined in the BLPackage definition. Specify these parameters for the BLPackage that you created.
- In BMC Cloud Lifecycle Management, access the Service Blueprint for your OpenStack instance, go to the Service Definition > Components subtab, and then select the component.
- On the Software Packages tab, scan the list of BladeLogic package types for the type to which you want to add the parameters.
- Select the BladeLogic package type, and click OK.
- On the Service Definition > Parameter tab, click the Add Parameter icon.
- Specify the UNIX_USER parameter.
- Specify the UNIX_USER_PASSWORD parameter.
- To add other users to the software package, do the following:
- Repeat this process of creating BLPackages with user name and password properties in BMC Server Automation.
- Assign matching blueprint parameters in BMC Cloud Lifecycle Management.