Appearance
Catalog Management
Introduction
Catalogs in vCloud Director are centralized libraries used to store and manage reusable VM templates. They enable standardized and accelerated deployment of virtual machines across your organization.
There are two types of catalogs:
- Organization Catalogs – Visible only within your own organization
- Published/Public Catalogs – Shared and maintained by Swisscom
Benefits of Using Catalogs:
- Ensure consistency across VM deployments
- Speed up provisioning using pre-configured templates
- Easily distribute updated base images or utilities
- Support versioning, import/export, and sharing of catalog items
Catalogs are an essential part of efficient VM lifecycle management in vCloud Director.
Prerequisites
You must have at least one Virtual Datacenter (vDC) available.
Create a Catalog
INFO
If the catalog should be shared with other Organisazions it should be created from the sub Provider.
1. Navigate to the Catalogs Section
Go to Content Hub → Catalogs → NEW
2. Fill Out the Form
Provide a name for the new catalog, choose the "wms-template-storage" for your new catalog. 
INFO
The "wms-template-storage" was specially created for faster deployment from all locations.
Share a Catalog
WARNING
Sharing of catalogs should be made from sup provider.
1. Navigate to the Catalog and Open the Share Option
After creating the catalog, it can be shared.
Go to Content Hub → Catalogs, click on the three dots next to the catalog, and choose Share.
2. Configure Sharing Settings
Click on the tab Organizations. Here are different options to share the catalog. We choose "Share with all provider-managed organizations" so the catalog will be shared automatically wit all organizations. 
it would also be possible to share the catalog only with some of the organizations. 
INFO
After clicking Save, the organizations gain access to the catalog and can use the templates it contains.
Upload an OVA/OVF from the Browser
1. Choose the Target Catalog
Navigate to Content Hub → Catalogs, then select the catalog where the OVA/OVF will be uploaded.
2. Add a Template
Click on vApp Templates → ADD
Select the Browse option, then click Upload to select the OVA file from your local machine.
Click Next to continue.
3. Verify Template Information
A summary of the OVA’s content will be displayed. Review the details and click Next.
4. Set Template Name
Give the template a name. A description is optional.
Ensure the correct catalog is selected.
Click Next again.
Finally, review the summary and click FINISH to start the upload process.
INFO
vCloud Director will now validate the OVA. If it's valid, the upload will begin.
You can track progress in the Recent Tasks section in the VCD interface.
Upload an OVA/OVF from an S3 Bucket
INFO
vCloud Director supports importing OVF templates via remote URLs. This allows you to host VM templates in external object stores like S3, enabling dynamic, URL-based imports.
1. Prepare the OVF Package
- Ensure the image is in OVF format (not OVA).
- The OVF package must include:
.ovfdescriptor- one or more
.vmdkfiles - (optionally) a
.nvramfile
TIP
If you only have an .ova file, extract it first:
sh
tar -xvf file.ova2. Upload OVF Files to S3
- Upload the
.ovfand.vmdkfiles to your Swisscom S3 bucket. - Example S3 path:
s3://templates-ovf/SLES12-SP1/
3. Generate Pre-Signed URLs
Use AWS CLI to generate temporary access links:
sh
# Example (expires in 7 days)
aws s3 presign s3://templates-ovf/SLES12-SP1.ovf --expires-in 604800
aws s3 presign s3://templates-ovf/SLES12-SP1-disk1.vmdk --expires-in 604800Make sure your AWS CLI is configured with Swisscom-compatible settings.
4. Modify the OVF File to Use Pre-Signed URLs
vCloud Director requires a specific URL format for VMDK references.
Update the .ovf file as follows:
- Replace each VMDK
<File ovf:href=...>with the modified URL:- Replace
&with& - Replace
%2Fwith/ - Remove the domain prefix
- Replace
Example:
xml
<File ovf:href="SLES12-SP1-disk1.vmdk?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...&X-Amz-Date=...&X-Amz-Expires=...&X-Amz-Signature=..." ovf:id="file1" ovf:size="1234567890"/>5. Upload the Modified OVF Back to S3
- Overwrite or upload the modified
.ovffile to the same location. - Generate a new pre-signed URL for the updated
.ovf.
6. Import the OVF into vCloud Director
- Open vCloud Director
- Go to Content Hub → Catalogs → [Your Catalog] → vApp Templates → ADD
- Choose “From URL”
- Paste the pre-signed URL of the modified
.ovffile - Fill in the name and description
- Click NEXT, then FINISH
7. Add Template Icon (Optional)
- Go to Content Hub → Catalogs → vApp Templates → [Template] → Metadata
- Click EDIT → ADD
- Add the following metadata:
- Key:
icon-base64 - Value: Base64-encoded image string (see below)
- User Access:
Read Only
- Key:
Example:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA...Use this tool to convert an image to base64: https://www.base64-image.de
WARNING
Make sure pre-signed URLs remain valid until the import completes. Expired or incorrectly modified URLs will result in silent failures or import errors.
Setting a Machine Prefix at the Template Level for VM Names
You can define custom machine prefixes for automatically generated VM names directly at the template level in vCloud Director.
This allows each template to generate VM names with a specific prefix, making them easier to identify and manage.
Steps
Open vCloud Director.
Navigate to:
Content Hub → Catalogs → [Your Catalog] → vApp TemplatesSelect the template you want to configure.
Open the Metadata tab.
Click Add to create a new metadata entry.
Field Value Description Name machinePrefixKey name for the prefix setting. Value (Your desired prefix) e.g. winserverPrefix used to generate VM names. e.g. winserver. VM name will be generated as winserver10001 when this template is used.Type TextData type for the metadata value. User Access Read/WriteEnsures users can view and edit this value if needed.
Example
If you set: machinePrefix = winserver Then VMs created from this template will automatically be named like: winserver10001, winserver10002
WARNING
The value should not exceed more than 10 characters!
