Printing/Viewing the Air-gapped Repository URL

Describes how to view the URL for the air-gapped HPE Data Fabric repository.

About this task

Command Syntax

./airgap-repository print-url [--runtime auto|docker|podman] [--container-name NAME] [--advertise-host HOST] [--port PORT] [--dry-run]

Command Help

./airgap-repository print-url --help
./airgap-repository print-url -h

Command Parameters

Table 1. airgap-repository start command parameters
Parameter Required? Description
--runtime auto|docker|podman No The runtime selection. Default: auto. Use docker or podman explicitly when required.
--container-name NAME No The managed container name. Default: mapr-airgap-repository.
--advertise-host HOST Recommended Client-reachable hostname or IP printed in the repository URL.
--port PORT No

The port number. Default:8080.

--dry-run No Use the option to preview the operation without printing the repository container.
-h, --help No Use the option to view command help.

To view the air-gapped repository URL hosting the HPE Data Fabric packages:

Procedure

Run the following command on the command line of the node on which you are hosting the air-gapped repository:
./airgap-repository print-url --advertise-host <hostname/host IP>

Results

The air-gapped repository URL is displayed:
Air-gap repository URL: http://<hostname/host IP>:8080

The command waits for repository readiness. --advertise-host changes the printed hostname, not DNS. Use an address reachable from the cluster. Do not use a loopback address.