Before you can use VMware vCenter images with the blueprint designer, you must
install VMware Tools and a virtual CD-ROM drive on those images.To configure images that
are compatible with Chef roles, see
Configuring VMware vCenter images for Chef roles.
- Install VMware Tools on the image and create a customization specification for
it.
See the VMware documentation.
- Optional:
On a Linux™ image, enable password access through SSH for
the root user:
-
Open the file /etc/cloud/cloud.cfg in a text editor.
-
Remove any lines of code that begin with
disable_root
.
-
Add the following line of code:
-
Save your changes to the file.
- Optional: On a Linux image, enable
sudo access for a different user name.
By default, the blueprint designer accesses
vCenter virtual images by using the root password. To use a different user name, you must enable
sudo access for it and disable password access for users in the sudo user group.
- Create the user name and enable sudo access for it.
- From the command line, open the sudo configuration file that is located at
/etc/sudoers by running this command:
visudo
.
- In the file, add the following line of code to disable password access for users in
the sudo user group:
%sudo ALL=(ALL) NOPASSWD:ALL
- Save your changes to the file.
- On a Windows™ image, create an initial user name
and password for the image.
See the VMware documentation.
- Open ports that are required to communicate with your IBM® UrbanCode® Deploy server.
By default, open ports 8080 and 8843 to communicate with the server and port
7918 to allow the agent that the blueprint designer installs to communicate with the server. See
Firewall and communication configuration.
-
Install a virtual CD-ROM drive on your image.
-
Capture the image as a template for the cloud system:
-
Shut down the image.
For example, on a Linux image, run the following
command:
shutdown -h now
-
From the VMware vSphere Web Client, find your instance.
-
Right-click the instance and then click Clone to Template and follow the
steps to create a template from your image.
You can use the image with the blueprint designer. See Modeling environments for VMware vCenter.